mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-31 11:31:40 +00:00
Fixed account folder selection
This commit is contained in:
parent
b208c9dd38
commit
00d9374831
1 changed files with 5 additions and 4 deletions
|
@ -1431,10 +1431,11 @@ public class FragmentAccount extends FragmentBase {
|
|||
none.name = "-";
|
||||
folders.add(0, none);
|
||||
|
||||
adapter.clear();
|
||||
for (EntityFolder folder : folders)
|
||||
if (!EntityFolder.INBOX.equals(folder.type))
|
||||
adapter.add(folder);
|
||||
for (EntityFolder folder : new ArrayList<>(folders))
|
||||
if (EntityFolder.INBOX.equals(folder.type))
|
||||
folders.remove(folder);
|
||||
|
||||
adapter.addAll(folders);
|
||||
|
||||
Long left = (account == null ? null : account.swipe_left);
|
||||
Long right = (account == null ? null : account.swipe_right);
|
||||
|
|
Loading…
Reference in a new issue