mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Defer search init
This commit is contained in:
parent
044723170e
commit
3d010f1c91
1 changed files with 3 additions and 1 deletions
|
@ -5881,6 +5881,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
@Override
|
||||
public void onLoading() {
|
||||
loading = true;
|
||||
initialized = true;
|
||||
updateListState("Loading", SimpleTask.getCount(), adapter == null ? 0 : adapter.getItemCount());
|
||||
}
|
||||
|
||||
|
@ -5948,7 +5949,8 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
|
||||
updateExpanded();
|
||||
|
||||
initialized = true;
|
||||
if (viewType != AdapterMessage.ViewType.SEARCH)
|
||||
initialized = true;
|
||||
updateListState("Observed", SimpleTask.getCount(), messages.size());
|
||||
|
||||
grpReady.setVisibility(View.VISIBLE);
|
||||
|
|
Loading…
Reference in a new issue