1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +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; boolean selectable = true;
for (String attr : attrs) for (String attr : attrs)
if (attr.equalsIgnoreCase("\\NoSelect")) if (attr.equalsIgnoreCase("\\NoSelect")) {
selectable = false; selectable = false;
break;
}
selectable = selectable && ((ifolder.getType() & IMAPFolder.HOLDS_MESSAGES) != 0); selectable = selectable && ((ifolder.getType() & IMAPFolder.HOLDS_MESSAGES) != 0);
if (type != null && selectable) { if (type != null && selectable) {