1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

Small improvement

Refs #192
This commit is contained in:
M66B 2021-01-19 17:54:51 +01:00
parent 3179b547a2
commit 088967c25d

View file

@ -687,8 +687,10 @@ public class FragmentAccount extends FragmentBase {
boolean selectable = true;
for (String attr : attrs)
if (attr.equalsIgnoreCase("\\NoSelect"))
if (attr.equalsIgnoreCase("\\NoSelect")) {
selectable = false;
break;
}
selectable = selectable && ((ifolder.getType() & IMAPFolder.HOLDS_MESSAGES) != 0);
if (type != null && selectable) {