Update viewport height

master
M66B 2 months ago
parent 1a65df8d28
commit ccdbd532c1

@ -1118,6 +1118,11 @@ public class ApplicationEx extends Application
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service");
if (version < 2298) {
if (prefs.contains("viewport_height"))
editor.putInt("viewport_height", 0);
}
if (version < BuildConfig.VERSION_CODE)
editor.putInt("previous_version", version);
editor.putInt("version", BuildConfig.VERSION_CODE);

Loading…
Cancel
Save