Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] gate active cast sessions list in cast sheet behind multi-cast feature flag

Priyanshu Dangare5b21fd247add
diff --git a/mobile/apps/photos/lib/ui/cast/cast.dart b/mobile/apps/photos/lib/ui/cast/cast.dart
index 95495103db..7bfb6ef790 100644
--- a/mobile/apps/photos/lib/ui/cast/cast.dart
+++ b/mobile/apps/photos/lib/ui/cast/cast.dart
@@ -58,11 +58,12 @@ Future<void> showCastSheet(BuildContext context, Collection collection) async {
await showPairWithCodeSheet(context, collection);
},
),
- CastSessionsList(
- showTitle: true,
- fallback: const SizedBox.shrink(),
- initialSessions: sessions,
- ),
+ if (flagService.enableMultiCast)
+ CastSessionsList(
+ showTitle: true,
+ fallback: const SizedBox.shrink(),
+ initialSessions: sessions,
+ ),
],
),
);