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