[mob] Fix keepPhotos behaviour for hiddenCollections
This commit is contained in:
parent
aee1c5e88c
commit
307aaa4c21
1 changed files with 6 additions and 1 deletions
|
@ -439,7 +439,12 @@ class CollectionActions {
|
|||
) async {
|
||||
final List<EnteFile> files =
|
||||
await FilesDB.instance.getAllFilesCollection(collection.id);
|
||||
await moveFilesFromCurrentCollection(bContext, collection, files);
|
||||
await moveFilesFromCurrentCollection(
|
||||
bContext,
|
||||
collection,
|
||||
files,
|
||||
isHidden: collection.isHidden() && !collection.isDefaultHidden(),
|
||||
);
|
||||
// collection should be empty on server now
|
||||
await collectionsService.trashEmptyCollection(collection);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue