mirror of https://github.com/M66B/FairEmail.git
Upgrade: disabled text styles when monospaced enabled
This commit is contained in:
parent
9b861418f2
commit
4b96f6830f
|
@ -280,6 +280,11 @@ public class ApplicationEx extends Application {
|
|||
editor.remove("background_service");
|
||||
} else if (version < 1195)
|
||||
editor.remove("auto_optimize");
|
||||
else if (version < 1229) {
|
||||
boolean monospaced = prefs.getBoolean("monospaced", false);
|
||||
if (monospaced && !BuildConfig.DEBUG)
|
||||
editor.putBoolean("text_font", false);
|
||||
}
|
||||
|
||||
if (version < BuildConfig.VERSION_CODE)
|
||||
editor.putInt("previous_version", version);
|
||||
|
|
Loading…
Reference in New Issue