Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Surface hide within person cluster

laurenspriemcc1332856db3
diff --git a/mobile/lib/models/gallery_type.dart b/mobile/lib/models/gallery_type.dart
index bff3a6c312..9712dbc267 100644
--- a/mobile/lib/models/gallery_type.dart
+++ b/mobile/lib/models/gallery_type.dart
@@ -204,15 +204,15 @@ extension GalleyTypeExtension on GalleryType {
case GalleryType.locationTag:
case GalleryType.quickLink:
case GalleryType.magic:
+ case GalleryType.peopleTag:
+ case GalleryType.cluster:
return true;
case GalleryType.hiddenSection:
- case GalleryType.peopleTag:
case GalleryType.hiddenOwnedCollection:
case GalleryType.localFolder:
case GalleryType.trash:
case GalleryType.favorite:
- case GalleryType.cluster:
case GalleryType.sharedCollection:
return false;
}
diff --git a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
index 0d1854d066..385ad09950 100644
--- a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
+++ b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
@@ -59,12 +59,12 @@ class FileSelectionActionsWidget extends StatefulWidget {
const FileSelectionActionsWidget(
this.type,
this.selectedFiles, {
- Key? key,
+ super.key,
this.collection,
this.person,
this.clusterID,
this.deviceCollection,
- }) : super(key: key);
+ });
@override
State<FileSelectionActionsWidget> createState() =>