Sync now: initialize folder

This commit is contained in:
M66B 2021-06-15 22:53:13 +02:00
parent 8de5fe8e90
commit d55e036eef
1 changed files with 4 additions and 1 deletions

View File

@ -695,8 +695,11 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
if (folder == null)
return null;
if (folder.selectable)
if (folder.selectable) {
if (!childs)
db.folder().setFolderInitialize(folder.id, folder.keep_days);
EntityOperation.sync(context, folder.id, true, !childs);
}
if (childs) {
List<EntityFolder> folders = db.folder().getChildFolders(folder.id);