mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-22 06:01:12 +00:00
Remove non selectable folders
This commit is contained in:
parent
35c300d88e
commit
ada6aaa0e8
1 changed files with 2 additions and 1 deletions
|
@ -1931,7 +1931,6 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
|
||||
for (Folder ifolder : ifolders) {
|
||||
String fullName = ifolder.getFullName();
|
||||
names.remove(fullName);
|
||||
|
||||
String type = null;
|
||||
boolean selectable = true;
|
||||
|
@ -1951,6 +1950,8 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
}
|
||||
|
||||
if (selectable) {
|
||||
names.remove(fullName);
|
||||
|
||||
int level = EntityFolder.getLevel(separator, fullName);
|
||||
String display = null;
|
||||
if (account.prefix != null && fullName.startsWith(account.prefix + separator))
|
||||
|
|
Loading…
Reference in a new issue