Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] fix: creating a new album from hidden section is not hidden by default

ashilknd5a8f234f8b4
diff --git a/mobile/lib/ui/collections/album/vertical_list.dart b/mobile/lib/ui/collections/album/vertical_list.dart
index fd5814f183..825bbbdbd4 100644
--- a/mobile/lib/ui/collections/album/vertical_list.dart
+++ b/mobile/lib/ui/collections/album/vertical_list.dart
@@ -138,7 +138,8 @@ class AlbumVerticalListWidget extends StatelessWidget {
bool hasVerifiedLock = false;
late final Collection? collection;
- if (actionType == CollectionActionType.moveToHiddenCollection) {
+ if (actionType == CollectionActionType.moveToHiddenCollection ||
+ actionType == CollectionActionType.addToHiddenAlbum) {
collection =
await CollectionsService.instance.createHiddenAlbum(albumName);
hasVerifiedLock = true;