1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Small fix

This commit is contained in:
M66B 2019-11-25 09:25:34 +01:00
parent bf0d25d181
commit 87746e2aa0

View file

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