mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 21:58:52 +02:00
Sync now: initialize folder
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user