mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 18:41:20 +01:00
Prevent crash
This commit is contained in:
@@ -1473,7 +1473,8 @@ public class FragmentMessages extends FragmentEx {
|
||||
@Override
|
||||
public void onLoaded() {
|
||||
pbWait.setVisibility(View.GONE);
|
||||
if (messages.getValue() == null || messages.getValue().size() == 0)
|
||||
if (messages != null &&
|
||||
messages.getValue() == null || messages.getValue().size() == 0)
|
||||
tvNoEmail.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user