mirror of https://github.com/M66B/FairEmail.git
Fixed showing no messages
This commit is contained in:
parent
fb990e2899
commit
4fe9be72b5
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue