From a32db40e222994680d0431ab38d326146974584e Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 6 Jan 2020 09:21:38 +0100 Subject: [PATCH] Small fix --- app/src/main/java/eu/faircode/email/Core.java | 2 +- .../java/eu/faircode/email/FragmentOptionsNotifications.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 9822a9bc14..b83f6c0091 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -2749,7 +2749,7 @@ class Core { boolean notify_reply_direct = (prefs.getBoolean("notify_reply_direct", false) && pro); boolean notify_flag = (prefs.getBoolean("notify_flag", false) && flags && pro); boolean notify_seen = (prefs.getBoolean("notify_seen", true) || !pro); - boolean notify_snooze = (prefs.getBoolean("notify_snooze", false) || !pro); + boolean notify_snooze = (prefs.getBoolean("notify_snooze", false) && pro); boolean notify_remove = prefs.getBoolean("notify_remove", true); boolean light = prefs.getBoolean("light", false); String sound = prefs.getString("sound", null); diff --git a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java index 51b1720d11..f99e449ffa 100644 --- a/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java +++ b/app/src/main/java/eu/faircode/email/FragmentOptionsNotifications.java @@ -400,7 +400,7 @@ public class FragmentOptionsNotifications extends FragmentBase implements Shared cbNotifyActionReplyDirect.setChecked(prefs.getBoolean("notify_reply_direct", false) && pro); cbNotifyActionFlag.setChecked(prefs.getBoolean("notify_flag", false) && pro); cbNotifyActionSeen.setChecked(prefs.getBoolean("notify_seen", true) || !pro); - cbNotifyActionSnooze.setChecked(prefs.getBoolean("notify_snooze", false) || !pro); + cbNotifyActionSnooze.setChecked(prefs.getBoolean("notify_snooze", false) && pro); swBiometricsNotify.setChecked(prefs.getBoolean("biometrics_notify", false));