fix(ui): Onboarding views getting out of safe area

This commit is contained in:
Inex Code 2024-08-14 04:46:38 +03:00
parent ef743302cd
commit 2e70f26617

View file

@ -22,7 +22,8 @@ class OnboardingView extends StatelessWidget {
@override @override
Widget build(final BuildContext context) => Scaffold( Widget build(final BuildContext context) => Scaffold(
body: Align( body: SafeArea(
child: Align(
child: ConstrainedBox( child: ConstrainedBox(
constraints: const BoxConstraints(maxWidth: 480), constraints: const BoxConstraints(maxWidth: 480),
child: Column( child: Column(
@ -49,5 +50,6 @@ class OnboardingView extends StatelessWidget {
), ),
), ),
), ),
),
); );
} }