1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-01 09:16:00 +00:00

Correct viewport height

This commit is contained in:
M66B 2024-06-19 16:32:37 +02:00
parent f2b634fc91
commit df7860dd59

View file

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