Correct viewport height

pull/215/head
M66B 6 months ago
parent f2b634fc91
commit df7860dd59

@ -882,6 +882,12 @@ public class ApplicationEx extends Application
editor.putBoolean("forward_new", true); editor.putBoolean("forward_new", true);
} }
if (version < 2206) {
if (prefs.getInt("viewport_height", 0) == 16000 &&
(Helper.isGoogle() || Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU))
editor.remove("viewport_height");
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG) if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service"); editor.remove("background_service");

Loading…
Cancel
Save