Simplification

pull/197/head
M66B 4 years ago
parent 8e3e7dd72f
commit c12a92e873

@ -291,13 +291,11 @@ public class FragmentFolders extends FragmentBase {
else
fabError.hide();
if (!primary) {
if (account == null || account.protocol != EntityAccount.TYPE_IMAP)
if (account == null || !imap || primary)
fabAdd.hide();
else
fabAdd.show();
}
}
});
// Observe folders

Loading…
Cancel
Save