From 0b29f443f94f111c5ebd4712540d96de02eb4247 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 10 Jul 2019 18:31:03 +0200 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/Core.java | 4 ++-- 1 file 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 313d3c2294..e0ae5d0417 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1933,7 +1933,7 @@ class Core { boolean notify_trash = (prefs.getBoolean("notify_trash", true) || !pro); boolean notify_archive = (prefs.getBoolean("notify_archive", true) || !pro); boolean notify_reply = (prefs.getBoolean("notify_reply", false) && pro); - boolean notify_flag = (prefs.getBoolean("notify_flag", false) && pro); + boolean notify_flag = (prefs.getBoolean("notify_flag", false) && flags && pro); boolean notify_seen = (prefs.getBoolean("notify_seen", true) || !pro); boolean light = prefs.getBoolean("light", false); String sound = prefs.getString("sound", null); @@ -2090,7 +2090,7 @@ class Core { mbuilder.addAction(actionReply.build()); } - if (notify_flag && flags) { + if (notify_flag) { Intent flag = new Intent(context, ServiceUI.class) .setAction("flag:" + message.id) .putExtra("group", group);