From 925999bce9997b52f047a0e4437b683160a6709f Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Sep 2019 20:26:36 +0200 Subject: [PATCH] Fixed error --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index aba58e1a3b..c8184b128c 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -300,7 +300,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences. primary = args.getLong("primary", -1); connected = args.getBoolean("connected", false); - if (folder > 0 && type == null) + if (folder > 0 && type == null && TextUtils.isEmpty(query)) Log.e("Messages for folder without type"); SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());