|
@@ -439,7 +439,12 @@ class CollectionActions {
|
|
) async {
|
|
) async {
|
|
final List<EnteFile> files =
|
|
final List<EnteFile> files =
|
|
await FilesDB.instance.getAllFilesCollection(collection.id);
|
|
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
|
|
// collection should be empty on server now
|
|
await collectionsService.trashEmptyCollection(collection);
|
|
await collectionsService.trashEmptyCollection(collection);
|
|
}
|
|
}
|