mirror of https://github.com/M66B/FairEmail.git
Simplification
This commit is contained in:
parent
8e3e7dd72f
commit
c12a92e873
|
@ -291,12 +291,10 @@ public class FragmentFolders extends FragmentBase {
|
||||||
else
|
else
|
||||||
fabError.hide();
|
fabError.hide();
|
||||||
|
|
||||||
if (!primary) {
|
if (account == null || !imap || primary)
|
||||||
if (account == null || account.protocol != EntityAccount.TYPE_IMAP)
|
fabAdd.hide();
|
||||||
fabAdd.hide();
|
else
|
||||||
else
|
fabAdd.show();
|
||||||
fabAdd.show();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue