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
1 changed files with 1 additions and 1 deletions

View File

@ -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);