NTP-19680 | Cursor size reduced to 5MB (#1036)

This commit is contained in:
Mantri Ramkishor
2024-12-17 17:55:51 +05:30
committed by GitHub
parent 2b3ec8e96a
commit 1faa7a1c63

View File

@@ -125,7 +125,7 @@ public class MainApplication extends Application implements ReactApplication {
try {
Field field = CursorWindow.class.getDeclaredField("sCursorWindowSize");
field.setAccessible(true);
field.set(null, 10 * 1024 * 1024); // 10MB
field.set(null, 5 * 1024 * 1024); // 5MB
} catch (Exception e) {
if (BuildConfig.DEBUG) {
e.printStackTrace();