diff --git a/lib/features/auth/presentation/pages/register_via_social_screen.dart b/lib/features/auth/presentation/pages/register_via_social_screen.dart index 4967930e..5ee5233a 100644 --- a/lib/features/auth/presentation/pages/register_via_social_screen.dart +++ b/lib/features/auth/presentation/pages/register_via_social_screen.dart @@ -330,6 +330,25 @@ class _RegisterViaSocialScreenState extends State { Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ + SizedBox( + width: MediaQuery.of(context).size.width / 2 - 22, + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + const Text('Рост'), + const SizedBox(height: 4), + CustomTextFormField( + controller: heightController, + hintText: 'Введите рост', + keyboardType: TextInputType.number, + onChanged: (newValue) {}, + hasError: heightError, + ), + if (heightError) ...[const SizedBox(height: 4), const ValidationErrorWidget(error: 'Рост должен быть от 100 до 250 см')], + ], + ), + ), + const SizedBox(width: 12), SizedBox( width: MediaQuery.of(context).size.width / 2 - 22, child: Column( @@ -349,25 +368,6 @@ class _RegisterViaSocialScreenState extends State { ], ), ), - const SizedBox(width: 12), - SizedBox( - width: MediaQuery.of(context).size.width / 2 - 22, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - const Text('Рост'), - const SizedBox(height: 4), - CustomTextFormField( - controller: heightController, - hintText: 'Введите рост', - keyboardType: TextInputType.number, - onChanged: (newValue) {}, - hasError: heightError, - ), - if (heightError) ...[const SizedBox(height: 4), const ValidationErrorWidget(error: 'Рост должен быть от 100 до 250 см')], - ], - ), - ), ], ), const SizedBox(height: 28),