mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-11 11:33:09 +02:00
Default reset snooze
This commit is contained in:
@@ -668,6 +668,9 @@ public class ApplicationEx extends Application
|
||||
editor.putBoolean("compose_style", prefs.getBoolean("compose_block", false));
|
||||
editor.remove("compose_block");
|
||||
}
|
||||
} else if (version < 2016) {
|
||||
if (!prefs.contains("reset_snooze"))
|
||||
editor.putBoolean("reset_snooze", false);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
||||
|
||||
@@ -210,7 +210,7 @@ public class EntityOperation {
|
||||
boolean autoread = prefs.getBoolean("autoread", false);
|
||||
boolean autounflag = prefs.getBoolean("autounflag", false);
|
||||
boolean reset_importance = prefs.getBoolean("reset_importance", false);
|
||||
boolean reset_snooze = prefs.getBoolean("reset_snooze", false);
|
||||
boolean reset_snooze = prefs.getBoolean("reset_snooze", true);
|
||||
|
||||
if (jargs.opt(1) != null) {
|
||||
// rules, classify
|
||||
|
||||
@@ -624,7 +624,7 @@ public class FragmentOptionsBehavior extends FragmentBase implements SharedPrefe
|
||||
swAutoUnflag.setChecked(prefs.getBoolean("autounflag", false));
|
||||
swAutoImportant.setChecked(prefs.getBoolean("auto_important", false));
|
||||
swResetImportance.setChecked(prefs.getBoolean("reset_importance", false));
|
||||
swResetSnooze.setChecked(prefs.getBoolean("reset_snooze", false));
|
||||
swResetSnooze.setChecked(prefs.getBoolean("reset_snooze", true));
|
||||
swSwipeReply.setChecked(prefs.getBoolean("swipe_reply", false));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user