Small fix

This commit is contained in:
M66B 2018-12-21 16:34:18 +01:00
parent a74c1e835b
commit 3903c7df4a
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}