Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mobile][photos] use isKeyboardAware on sheets in cast menus

Priyanshu Dangare6d1f5ef239f7
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 12447fabab..ef31bf8300 100644
--- a/mobile/apps/photos/lib/ui/cast/pair_with_auto.dart
+++ b/mobile/apps/photos/lib/ui/cast/pair_with_auto.dart
@@ -75,6 +75,7 @@ class _PairWithAutoSheetState extends State<_PairWithAutoSheet> {
? "${l10n.autoCastDialogBody}\n${l10n.autoCastiOSPermission}"
: l10n.autoCastDialogBody;
return BottomSheetComponent(
+ isKeyboardAware: true,
isScrollable: true,
initialChildSize: 0.35,
snapSizes: const [0.35, 1.0],
diff --git a/mobile/apps/photos/lib/ui/cast/pair_with_code.dart b/mobile/apps/photos/lib/ui/cast/pair_with_code.dart
index eef2be1ddd..76854916fd 100644
--- a/mobile/apps/photos/lib/ui/cast/pair_with_code.dart
+++ b/mobile/apps/photos/lib/ui/cast/pair_with_code.dart
@@ -76,6 +76,7 @@ class _PairWithCodeSheetState extends State<_PairWithCodeSheet> {
l10n.castInstruction(castUrl: flagService.castUrl),
style: textStyles.smallMuted,
),
+ isKeyboardAware: true,
actions: [
TextInputComponent(
controller: _controller,