mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Fixed crash
This commit is contained in:
parent
8fd0ceee47
commit
8917609d0e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue