mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 15:46:34 +02:00
Update viewport height
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user