Prevent crash

pull/146/head
M66B 6 years ago
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…
Cancel
Save