Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] Close cast session on stop

Priyanshu Dangare28bfb8f10170
diff --git a/mobile/apps/photos/lib/ui/cast/cast.dart b/mobile/apps/photos/lib/ui/cast/cast.dart
index 03da06abcd..1119393ff4 100644
--- a/mobile/apps/photos/lib/ui/cast/cast.dart
+++ b/mobile/apps/photos/lib/ui/cast/cast.dart
@@ -27,6 +27,7 @@ Future<void> showCastSheet(BuildContext context, Collection collection) async {
secondButtonLabel: l10n.no,
firstButtonOnTap: () async {
await gw.revokeAllTokens();
+ await castService.closeActiveCasts();
},
);
return;