mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Simplification
This commit is contained in:
parent
8e3e7dd72f
commit
c12a92e873
1 changed files with 4 additions and 6 deletions
|
@ -291,12 +291,10 @@ public class FragmentFolders extends FragmentBase {
|
|||
else
|
||||
fabError.hide();
|
||||
|
||||
if (!primary) {
|
||||
if (account == null || account.protocol != EntityAccount.TYPE_IMAP)
|
||||
fabAdd.hide();
|
||||
else
|
||||
fabAdd.show();
|
||||
}
|
||||
if (account == null || !imap || primary)
|
||||
fabAdd.hide();
|
||||
else
|
||||
fabAdd.show();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue