From 4fe9be72b5953f2f40868d65ce05974185b6a5c2 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 2 Dec 2018 10:08:40 +0100 Subject: [PATCH] Fixed showing no messages --- app/src/main/java/eu/faircode/email/FragmentMessages.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentMessages.java b/app/src/main/java/eu/faircode/email/FragmentMessages.java index 596238bf88..1e867b4c8f 100644 --- a/app/src/main/java/eu/faircode/email/FragmentMessages.java +++ b/app/src/main/java/eu/faircode/email/FragmentMessages.java @@ -1469,8 +1469,7 @@ public class FragmentMessages extends FragmentEx { grpReady.setVisibility(View.VISIBLE); if (messages.size() == 0) { - if (searchCallback == null) - tvNoEmail.setVisibility(View.VISIBLE); + tvNoEmail.setVisibility(searching ? View.GONE : View.VISIBLE); rvMessage.setVisibility(View.GONE); } else { tvNoEmail.setVisibility(View.GONE);