Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] fix: feature flag

Aman Raj Singh Mourya23dc3788880d
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 4b8409ac09..9420805da2 100644
--- a/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
+++ b/mobile/lib/ui/viewer/actions/file_selection_actions_widget.dart
@@ -320,11 +320,12 @@ class _FileSelectionActionsWidgetState
),
);
}
- if (widget.type != GalleryType.sharedPublicCollection) {
+ if (flagService.internalUser &&
+ widget.type != GalleryType.sharedPublicCollection) {
items.add(
SelectionActionButton(
icon: Icons.movie_creation_sharp,
- labelText: "Video memory",
+ labelText: "Video Memory",
onTap: _onCreateVideoMemoryClicked,
),
);