mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Small fix
This commit is contained in:
parent
bf0d25d181
commit
87746e2aa0
1 changed files with 2 additions and 3 deletions
|
@ -3213,10 +3213,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
if (!loading && SimpleTask.getCount() == 0)
|
||||
pbWait.setVisibility(View.GONE);
|
||||
|
||||
boolean none = (messages.size() == 0 && !loading);
|
||||
tvNoEmail.setVisibility(none ? View.VISIBLE : View.GONE);
|
||||
tvNoEmail.setVisibility(messages.size() == 0 ? View.VISIBLE : View.GONE);
|
||||
tvNoEmailHint.setVisibility(
|
||||
none && filterActive() && viewType != AdapterMessage.ViewType.SEARCH
|
||||
messages.size() == 0 && filterActive() && viewType != AdapterMessage.ViewType.SEARCH
|
||||
? View.VISIBLE : View.GONE);
|
||||
|
||||
grpReady.setVisibility(View.VISIBLE);
|
||||
|
|
Loading…
Reference in a new issue