mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 02:21:37 +01:00
Upgrade: disabled text styles when monospaced enabled
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user