diff --git a/lib/features/splash/secure_recovery_phrase/presentation/recovery_phrase_base/recovery_phrase_base_page.dart b/lib/features/splash/secure_recovery_phrase/presentation/recovery_phrase_base/recovery_phrase_base_page.dart index bd967a17..2c42ad2d 100644 --- a/lib/features/splash/secure_recovery_phrase/presentation/recovery_phrase_base/recovery_phrase_base_page.dart +++ b/lib/features/splash/secure_recovery_phrase/presentation/recovery_phrase_base/recovery_phrase_base_page.dart @@ -38,23 +38,30 @@ abstract class RecoveryPhraseBasePage extends HookConsumerWidget { Widget? buildAccept(BuildContext context, WidgetRef ref) => null; + Widget? buildEmailInput(BuildContext context, WidgetRef ref) => null; + @override Widget build(BuildContext context, WidgetRef ref) { final acceptComponent = buildAccept(context, ref); return MxcPage( - layout: LayoutType.column, + layout: LayoutType.scrollable, useSplashBackground: true, childrenPadding: const EdgeInsets.symmetric(horizontal: 24), presenter: ref.watch(presenter), appBar: buildAppBar(context, ref), footer: buildFooter(context, ref), + resizeToAvoidBottomInset: true, children: [ buildAppLogo(context), - const Spacer(), + const SizedBox(height: 120), buildAlert(context), - const Spacer(), + if (buildEmailInput(context, ref) != null) ...[ + const SizedBox(height: 18), + buildEmailInput(context, ref)!, + ], if (acceptComponent != null) ...[ + const SizedBox(height: 130), acceptComponent, const SizedBox(height: 16), ]