Prevent selecting inbox

This commit is contained in:
M66B 2019-05-12 19:23:52 +02:00
parent 94419a84df
commit d4da0bb223
1 changed files with 3 additions and 1 deletions

View File

@ -1432,7 +1432,9 @@ public class FragmentAccount extends FragmentBase {
folders.add(0, none);
adapter.clear();
adapter.addAll(folders);
for (EntityFolder folder : folders)
if (!EntityFolder.INBOX.equals(folder.type))
adapter.add(folder);
Long left = (account == null ? null : account.swipe_left);
Long right = (account == null ? null : account.swipe_right);