From 614f5253c30c8a6cfac5412a3091be97eb399f24 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 2 Nov 2019 17:03:46 +0100 Subject: [PATCH] Disable 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 e82cfe4028..d727673a5d 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -2606,7 +2606,7 @@ class Core { SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context); boolean notify_summary = prefs.getBoolean("notify_summary", false); - boolean wearable_preview = prefs.getBoolean("wearable_preview", true); + boolean wearable_preview = prefs.getBoolean("wearable_preview", false); boolean biometrics = prefs.getBoolean("biometrics", false); boolean biometric_notify = prefs.getBoolean("biometrics_notify", false); boolean pro = ActivityBilling.isPro(context); @@ -2759,7 +2759,7 @@ class Core { boolean name_email = prefs.getBoolean("name_email", false); boolean flags = prefs.getBoolean("flags", true); boolean notify_preview = prefs.getBoolean("notify_preview", true); - boolean wearable_preview = prefs.getBoolean("wearable_preview", true); + boolean wearable_preview = prefs.getBoolean("wearable_preview", false); 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 f0ec22ff93..aa47b5e9bd 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java @@ -374,7 +374,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared swNotifyRemove.setChecked(prefs.getBoolean("notify_remove", true)); swNotifyClear.setChecked(prefs.getBoolean("notify_clear", false)); swNotifyPreview.setChecked(prefs.getBoolean("notify_preview", true)); - swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", true)); + swWearablePreview.setChecked(prefs.getBoolean("wearable_preview", false)); cbNotifyActionTrash.setChecked(prefs.getBoolean("notify_trash", true) || !pro); cbNotifyActionJunk.setChecked(prefs.getBoolean("notify_junk", false) && pro);