Default enable highlight unread for new installations

This commit is contained in:
M66B
2020-03-08 21:25:20 +01:00
parent f809e2489d
commit 6ef6a3a2ec
9 changed files with 12 additions and 8 deletions

View File

@@ -247,6 +247,10 @@ public class ApplicationEx extends Application {
if (!prefs.contains("poll_interval"))
editor.putInt("poll_interval", 0);
editor.remove("first");
} else if (version < 1021) {
boolean highlight_unread = prefs.getBoolean("highlight_unread", false);
if (!highlight_unread)
prefs.edit().putBoolean("highlight_unread", highlight_unread);
}
if (BuildConfig.DEBUG && false) {