Enabled delete/seen for new installations

This commit is contained in:
M66B 2024-05-25 11:32:35 +02:00
parent a00dff0d74
commit 356ed6ccda
3 changed files with 4 additions and 2 deletions

View File

@ -868,6 +868,8 @@ public class ApplicationEx extends Application
} else if (version < 2187) {
if (!prefs.contains("hide_toolbar"))
editor.putBoolean("hide_toolbar", !BuildConfig.PLAY_STORE_RELEASE);
if (!prefs.contains("delete_unseen"))
editor.putBoolean("delete_unseen", false);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)

View File

@ -3733,7 +3733,7 @@ class Core {
boolean sync_unseen = prefs.getBoolean("sync_unseen", false);
boolean sync_flagged = prefs.getBoolean("sync_flagged", false);
boolean sync_kept = prefs.getBoolean("sync_kept", true);
boolean delete_unseen = prefs.getBoolean("delete_unseen", false);
boolean delete_unseen = prefs.getBoolean("delete_unseen", true);
boolean use_modseq = prefs.getBoolean("use_modseq", true);
boolean perform_expunge = prefs.getBoolean("perform_expunge", true);
boolean log = prefs.getBoolean("protocol", false);

View File

@ -684,7 +684,7 @@ public class FragmentOptionsSynchronize extends FragmentBase implements SharedPr
swNodate.setChecked(prefs.getBoolean("sync_nodate", false));
swUnseen.setChecked(prefs.getBoolean("sync_unseen", false));
swFlagged.setChecked(prefs.getBoolean("sync_flagged", false));
swDeleteUnseen.setChecked(prefs.getBoolean("delete_unseen", false));
swDeleteUnseen.setChecked(prefs.getBoolean("delete_unseen", true));
swSyncKept.setChecked(prefs.getBoolean("sync_kept", true));
swGmailThread.setChecked(prefs.getBoolean("gmail_thread_id", false));
swOutlookThread.setChecked(prefs.getBoolean("outlook_thread_id", false));