Skip to content

armgit / ente

Public Imported from GitHub
0

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

Make cast pairing sheet scrollable

Priyanshu Dangarec7aaede36beb
diff --git a/mobile/apps/photos/lib/ui/cast/pair_with_auto.dart b/mobile/apps/photos/lib/ui/cast/pair_with_auto.dart
index 0e828fe6af..06a90b9648 100644
--- a/mobile/apps/photos/lib/ui/cast/pair_with_auto.dart
+++ b/mobile/apps/photos/lib/ui/cast/pair_with_auto.dart
@@ -71,6 +71,10 @@ class _PairWithAutoSheetState extends State<_PairWithAutoSheet> {
? "${l10n.autoCastDialogBody}\n${l10n.autoCastiOSPermission}"
: l10n.autoCastDialogBody;
return BottomSheetComponent(
+ isScrollable: true,
+ initialChildSize: 0.35,
+ snapSizes: const [0.35, 1.0],
+ snap: true,
title: l10n.connectToDevice,
content: Text(body, style: textStyles.smallMuted),
actions: [