1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 15:55:57 +00:00

No messages does not depend on number of tasks

This commit is contained in:
M66B 2022-06-14 18:03:26 +02:00
parent b409f8b3b8
commit 3eb3a7ed18

View file

@ -6174,7 +6174,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
(filter_unknown && !EntityFolder.isOutgoing(type)) ||
(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);
pbWait.setVisibility(loading || tasks > 0 ? View.VISIBLE : View.GONE);