mirror of https://github.com/M66B/FairEmail.git
Default enable wearable preview
This commit is contained in:
parent
9f8bb2fcc5
commit
84dd2bdfec
|
@ -2611,7 +2611,7 @@ class Core {
|
||||||
|
|
||||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||||
boolean notify_summary = prefs.getBoolean("notify_summary", false);
|
boolean notify_summary = prefs.getBoolean("notify_summary", false);
|
||||||
boolean wearable_preview = prefs.getBoolean("wearable_preview", false);
|
boolean wearable_preview = prefs.getBoolean("wearable_preview", true);
|
||||||
boolean biometrics = prefs.getBoolean("biometrics", false);
|
boolean biometrics = prefs.getBoolean("biometrics", false);
|
||||||
boolean biometric_notify = prefs.getBoolean("biometrics_notify", false);
|
boolean biometric_notify = prefs.getBoolean("biometrics_notify", false);
|
||||||
boolean pro = ActivityBilling.isPro(context);
|
boolean pro = ActivityBilling.isPro(context);
|
||||||
|
@ -2759,7 +2759,7 @@ class Core {
|
||||||
boolean name_email = prefs.getBoolean("name_email", false);
|
boolean name_email = prefs.getBoolean("name_email", false);
|
||||||
boolean flags = prefs.getBoolean("flags", true);
|
boolean flags = prefs.getBoolean("flags", true);
|
||||||
boolean notify_preview = prefs.getBoolean("notify_preview", true);
|
boolean notify_preview = prefs.getBoolean("notify_preview", true);
|
||||||
boolean wearable_preview = prefs.getBoolean("wearable_preview", false);
|
boolean wearable_preview = prefs.getBoolean("wearable_preview", true);
|
||||||
boolean notify_trash = (prefs.getBoolean("notify_trash", true) || !pro);
|
boolean notify_trash = (prefs.getBoolean("notify_trash", true) || !pro);
|
||||||
boolean notify_junk = (prefs.getBoolean("notify_junk", false) && pro);
|
boolean notify_junk = (prefs.getBoolean("notify_junk", false) && pro);
|
||||||
boolean notify_archive = (prefs.getBoolean("notify_archive", true) || !pro);
|
boolean notify_archive = (prefs.getBoolean("notify_archive", true) || !pro);
|
||||||
|
|
|
@ -353,7 +353,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
|
||||||
swUnseenIgnored.setChecked(prefs.getBoolean("unseen_ignored", false));
|
swUnseenIgnored.setChecked(prefs.getBoolean("unseen_ignored", false));
|
||||||
swNotifySummary.setChecked(prefs.getBoolean("notify_summary", false));
|
swNotifySummary.setChecked(prefs.getBoolean("notify_summary", false));
|
||||||
swNotifyPreview.setChecked(prefs.getBoolean("notify_preview", true));
|
swNotifyPreview.setChecked(prefs.getBoolean("notify_preview", true));
|
||||||
swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", false));
|
swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", true));
|
||||||
swWearablePreview.setEnabled(swNotifyPreview.isChecked());
|
swWearablePreview.setEnabled(swNotifyPreview.isChecked());
|
||||||
|
|
||||||
cbNotifyActionTrash.setChecked(prefs.getBoolean("notify_trash", true) || !pro);
|
cbNotifyActionTrash.setChecked(prefs.getBoolean("notify_trash", true) || !pro);
|
||||||
|
|
Loading…
Reference in New Issue