From c61280ffa86455bb823f1a4d1eb5fb5b76043e84 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 17 Oct 2020 09:57:53 +0200 Subject: [PATCH] Enable wearable preview by default --- app/src/main/java/eu/faircode/email/Core.java | 4 ++-- .../java/eu/faircode/email/FragmentOptionsNotifications.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 23696a0cc8..852a2e98b4 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -3369,7 +3369,7 @@ class Core { boolean notify_summary = prefs.getBoolean("notify_summary", false); boolean notify_preview = prefs.getBoolean("notify_preview", true); 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); String pin = prefs.getString("pin", null); boolean biometric_notify = prefs.getBoolean("biometrics_notify", false); @@ -3556,7 +3556,7 @@ class Core { boolean flags = prefs.getBoolean("flags", true); boolean notify_preview = prefs.getBoolean("notify_preview", true); 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_junk = (prefs.getBoolean("notify_junk", false) && pro); boolean notify_archive = (prefs.getBoolean("notify_archive", true) || !pro); diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java index 5876c6418f..1ec65e71a3 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java @@ -508,7 +508,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared swNotifyPreview.setChecked(prefs.getBoolean("notify_preview", true)); swNotifyPreviewAll.setChecked(prefs.getBoolean("notify_preview_all", 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)); swAlertOnce.setChecked(!prefs.getBoolean("alert_once", true));