mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 18:13:24 +02:00
Fixed crash
This commit is contained in:
@@ -5192,13 +5192,13 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||
@Override
|
||||
public void onLoading() {
|
||||
loading = true;
|
||||
updateListState("Loading", SimpleTask.getCount(), adapter.getItemCount());
|
||||
updateListState("Loading", SimpleTask.getCount(), adapter == null ? 0 : adapter.getItemCount());
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoaded(int found) {
|
||||
loading = false;
|
||||
updateListState("Loaded found=" + found, SimpleTask.getCount(), adapter.getItemCount() + found);
|
||||
updateListState("Loaded found=" + found, SimpleTask.getCount(), adapter == null ? 0 : adapter.getItemCount() + found);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user