Folder specials

This commit is contained in:
M66B
2020-12-01 21:07:13 +01:00
parent d550f312fc
commit e7a9266b2b
6 changed files with 12 additions and 4 deletions

View File

@@ -1223,8 +1223,9 @@ public class FragmentAccount extends FragmentBase {
EntityFolder existing = db.folder().getFolderByName(account.id, folder.name);
if (existing == null) {
folder.account = account.id;
EntityLog.log(context, "Added folder=" + folder.name + " type=" + folder.type);
folder.setSpecials(account);
folder.id = db.folder().insertFolder(folder);
EntityLog.log(context, "Added folder=" + folder.name + " type=" + folder.type);
if (folder.synchronize)
EntityOperation.sync(context, folder.id, false);
} else {