mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 01:51:24 +01:00
Prevent crash
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user