Update viewport height

This commit is contained in:
M66B
2025-09-21 07:44:33 +02:00
parent 1a65df8d28
commit ccdbd532c1

View File

@@ -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);