π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Remove redundant memory sharing flag
AmanRajSinghMourya968c1206f793
diff --git a/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart b/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dartindex 0784e2b68e..7b28163da8 100644--- a/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart+++ b/mobile/apps/photos/lib/ui/home/memories/full_screen_memory.dart@@ -1546,7 +1546,6 @@ Future<void> _shareMemory();if (currentIndex == null) return;final canShowMemoryShareLinkOption =- flagService.enableMemoryShareLink &&!(isLocalGalleryMode && !Configuration.instance.hasConfiguredAccount());final result = await showMemoryShareSelectionSheet(context,diff --git a/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page.dart b/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page.dartindex 0debd15c88..fdf5c18803 100644--- a/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page.dart+++ b/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page.dart@@ -122,7 +122,6 @@ class _MemoryLanePageState extends State<MemoryLanePage>bool get _showShareAction =>!widget.isCluster &&MemoryLaneService.instance.isFeatureEnabled &&- flagService.enableMemoryShareLink &&!isLocalGalleryMode;@overridediff --git a/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page_v2.dart b/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page_v2.dartindex 43761d11b7..76a20014e7 100644--- a/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page_v2.dart+++ b/mobile/apps/photos/lib/ui/viewer/people/memory_lane_page_v2.dart@@ -568,9 +568,7 @@ class _MemoryLanePageV2State extends State<MemoryLanePageV2> {),),actions: [- if (widget.person != null &&- flagService.enableMemoryShareLink &&- !isLocalGalleryMode)+ if (widget.person != null && !isLocalGalleryMode)// TODO: Replace with an Ente component when it supports this pressed overlay.SizedBox.square(dimension: 48,@@ -814,8 +812,7 @@ class _MemoryLanePageV2State extends State<MemoryLanePageV2> {Future<void> _onShareTap() async {final timeline = _timeline;final person = widget.person;- if (!flagService.enableMemoryShareLink ||- isLocalGalleryMode ||+ if (isLocalGalleryMode ||timeline == null ||person == null ||!timeline.isEligible ||diff --git a/mobile/packages/feature_flag/lib/src/flag_service.dart b/mobile/packages/feature_flag/lib/src/flag_service.dartindex e630016f77..799ed2e326 100644--- a/mobile/packages/feature_flag/lib/src/flag_service.dart+++ b/mobile/packages/feature_flag/lib/src/flag_service.dart@@ -115,8 +115,6 @@ class FlagService {bool get isSocialEnabled =>internalUser || _isServerFlagEnabled(_commentsFlag);- bool get enableMemoryShareLink => true;-bool get enableMLInBackground => true;bool get useRustForHeicDecoder => internalUser;