Prevent crash

This commit is contained in:
M66B 2018-11-02 19:31:27 +00:00
parent 906e993d0f
commit d8af4cb378
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}