mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
906e993d0f
commit
d8af4cb378
|
@ -1100,7 +1100,7 @@ public class FragmentMessages extends FragmentEx {
|
|||
@Override
|
||||
public void onLoaded() {
|
||||
pbWait.setVisibility(View.GONE);
|
||||
if (messages.getValue().size() == 0)
|
||||
if (messages.getValue() == null || messages.getValue().size() == 0)
|
||||
tvNoEmail.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue