Enable wearable preview by default

This commit is contained in:
M66B 2020-10-17 09:57:53 +02:00
parent eab715c19e
commit c61280ffa8
2 changed files with 3 additions and 3 deletions

View File

@ -3369,7 +3369,7 @@ class Core {
boolean notify_summary = prefs.getBoolean("notify_summary", false); boolean notify_summary = prefs.getBoolean("notify_summary", false);
boolean notify_preview = prefs.getBoolean("notify_preview", true); boolean notify_preview = prefs.getBoolean("notify_preview", true);
boolean notify_preview_only = prefs.getBoolean("notify_preview_only", false); boolean notify_preview_only = prefs.getBoolean("notify_preview_only", 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);
String pin = prefs.getString("pin", null); String pin = prefs.getString("pin", null);
boolean biometric_notify = prefs.getBoolean("biometrics_notify", false); boolean biometric_notify = prefs.getBoolean("biometrics_notify", false);
@ -3556,7 +3556,7 @@ class Core {
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 notify_preview_all = prefs.getBoolean("notify_preview_all", false); boolean notify_preview_all = prefs.getBoolean("notify_preview_all", false);
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);

View File

@ -508,7 +508,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared
swNotifyPreview.setChecked(prefs.getBoolean("notify_preview", true)); swNotifyPreview.setChecked(prefs.getBoolean("notify_preview", true));
swNotifyPreviewAll.setChecked(prefs.getBoolean("notify_preview_all", false)); swNotifyPreviewAll.setChecked(prefs.getBoolean("notify_preview_all", false));
swNotifyPreviewOnly.setChecked(prefs.getBoolean("notify_preview_only", false)); swNotifyPreviewOnly.setChecked(prefs.getBoolean("notify_preview_only", false));
swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", false)); swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", true));
swBiometricsNotify.setChecked(prefs.getBoolean("biometrics_notify", false)); swBiometricsNotify.setChecked(prefs.getBoolean("biometrics_notify", false));
swAlertOnce.setChecked(!prefs.getBoolean("alert_once", true)); swAlertOnce.setChecked(!prefs.getBoolean("alert_once", true));