mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
parent
a74c1e835b
commit
3903c7df4a
|
@ -1951,7 +1951,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
names.remove(folder.name);
|
||||
Log.i(Helper.TAG, folder.name + " exists");
|
||||
db.folder().setFolderLevel(folder.id, level);
|
||||
if (EntityFolder.USER.equals(folder.type) && type != null)
|
||||
if (EntityFolder.USER.equals(folder.type) && EntityFolder.SYSTEM.equals(type))
|
||||
db.folder().setFolderType(folder.id, type);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue