mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Upgrade: disabled text styles when monospaced enabled
This commit is contained in:
parent
9b861418f2
commit
4b96f6830f
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue