Skip to content

armgit / ente

Public Imported from GitHub
0

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

Gate hide shared album behind internal user flag

ashilkn0367bc576762
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
index 21f5f413eb..46d0aeeb51 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery_app_bar_widget.dart
@@ -623,7 +623,8 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
? Icons.unarchive
: Icons.archive_outlined,
),
- if (galleryType == GalleryType.sharedCollection)
+ if (galleryType == GalleryType.sharedCollection &&
+ flagService.internalUser)
EntePopupMenuItem(
widget.collection!.hasShareeHidden()
? AppLocalizations.of(context).unhide