mirror of https://github.com/M66B/FairEmail.git
No messages does not depend on number of tasks
This commit is contained in:
parent
b409f8b3b8
commit
3eb3a7ed18
|
@ -6174,7 +6174,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
||||||
(filter_unknown && !EntityFolder.isOutgoing(type)) ||
|
(filter_unknown && !EntityFolder.isOutgoing(type)) ||
|
||||||
(language_detection && !TextUtils.isEmpty(filter_language) && !outbox));
|
(language_detection && !TextUtils.isEmpty(filter_language) && !outbox));
|
||||||
|
|
||||||
boolean none = (items == 0 && !loading && tasks == 0 && initialized);
|
boolean none = (items == 0 && !loading && initialized);
|
||||||
boolean filtered = (filter_active && viewType != AdapterMessage.ViewType.SEARCH);
|
boolean filtered = (filter_active && viewType != AdapterMessage.ViewType.SEARCH);
|
||||||
|
|
||||||
pbWait.setVisibility(loading || tasks > 0 ? View.VISIBLE : View.GONE);
|
pbWait.setVisibility(loading || tasks > 0 ? View.VISIBLE : View.GONE);
|
||||||
|
|
Loading…
Reference in New Issue