Fixed showing no messages

This commit is contained in:
M66B 2018-12-02 10:08:40 +01:00
parent fb990e2899
commit 4fe9be72b5
1 changed files with 1 additions and 2 deletions

View File

@ -1469,8 +1469,7 @@ public class FragmentMessages extends FragmentEx {
grpReady.setVisibility(View.VISIBLE); grpReady.setVisibility(View.VISIBLE);
if (messages.size() == 0) { if (messages.size() == 0) {
if (searchCallback == null) tvNoEmail.setVisibility(searching ? View.GONE : View.VISIBLE);
tvNoEmail.setVisibility(View.VISIBLE);
rvMessage.setVisibility(View.GONE); rvMessage.setVisibility(View.GONE);
} else { } else {
tvNoEmail.setVisibility(View.GONE); tvNoEmail.setVisibility(View.GONE);