Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Keep code-entry illustrations visible with keyboard

r4khul482a44c3f104
diff --git a/mobile/apps/photos/lib/ui/account/ott_verification_page.dart b/mobile/apps/photos/lib/ui/account/ott_verification_page.dart
index 8362a5f0ca..546b454058 100644
--- a/mobile/apps/photos/lib/ui/account/ott_verification_page.dart
+++ b/mobile/apps/photos/lib/ui/account/ott_verification_page.dart
@@ -96,6 +96,7 @@ class _OTTVerificationPageState extends State<OTTVerificationPage> {
return OnboardingPageScaffold(
title: context.strings.verifyEmail,
illustration: OnboardingIllustration.email,
+ minimumKeyboardHeaderHeight: OnboardingPageScaffold.compactHeaderHeight,
isBodyCentered: true,
body: _getBody(),
actions: [
diff --git a/mobile/apps/photos/lib/ui/account/two_factor_authentication_page.dart b/mobile/apps/photos/lib/ui/account/two_factor_authentication_page.dart
index 9bd88394cd..0fdd862160 100644
--- a/mobile/apps/photos/lib/ui/account/two_factor_authentication_page.dart
+++ b/mobile/apps/photos/lib/ui/account/two_factor_authentication_page.dart
@@ -55,6 +55,7 @@ class _TwoFactorAuthenticationPageState
return OnboardingPageScaffold(
title: context.strings.twoFAVerification,
illustration: OnboardingIllustration.key,
+ minimumKeyboardHeaderHeight: OnboardingPageScaffold.compactHeaderHeight,
isBodyCentered: true,
body: Column(
mainAxisSize: MainAxisSize.min,