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:
parent
f2b634fc91
commit
df7860dd59
1 changed files with 6 additions and 0 deletions
|
@ -882,6 +882,12 @@ public class ApplicationEx extends Application
|
|||
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)
|
||||
editor.remove("background_service");
|
||||
|
||||
|
|
Loading…
Reference in a new issue