mirror of https://github.com/M66B/FairEmail.git
Fixed enabling auto optimize
This commit is contained in:
parent
f9586534ae
commit
29edb03d35
|
@ -278,9 +278,7 @@ public class ApplicationEx extends Application {
|
||||||
} else if (version < 1181) {
|
} else if (version < 1181) {
|
||||||
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");
|
||||||
} else if (version < 1195)
|
} else if (version < 1229) {
|
||||||
editor.remove("auto_optimize");
|
|
||||||
else if (version < 1229) {
|
|
||||||
boolean monospaced = prefs.getBoolean("monospaced", false);
|
boolean monospaced = prefs.getBoolean("monospaced", false);
|
||||||
if (monospaced && !BuildConfig.DEBUG)
|
if (monospaced && !BuildConfig.DEBUG)
|
||||||
editor.putBoolean("text_font", false);
|
editor.putBoolean("text_font", false);
|
||||||
|
|
Loading…
Reference in New Issue