fix(registration): update navigation to verify email screen and streamline error message display

This commit is contained in:
mso7nueh
2025-12-26 16:17:34 +03:00
parent 90746d0be7
commit bb59552e3e
2 changed files with 3 additions and 5 deletions

View File

@@ -76,7 +76,7 @@ class _RegistrationBottomSheetState extends State<RegistrationBottomSheet> {
buttonTextStyle: TextStyles.textMSemibold.copyWith(color: appTheme.whiteA700),
buttonStyle: ButtonStyle(side: const WidgetStatePropertyAll(BorderSide.none), backgroundColor: WidgetStatePropertyAll(appTheme.blueA400)),
onPressed: () async {
AppRouter.navigatorKey.currentContext?.go(RouteConstants.feedScreen);
AppRouter.navigatorKey.currentContext?.go(RouteConstants.verifyEmailScreen);
},
),
const SizedBox(width: 20),
@@ -97,9 +97,7 @@ class _RegistrationBottomSheetState extends State<RegistrationBottomSheet> {
Padding(
padding: const EdgeInsets.only(bottom: 16.0),
child: Text(
widget.cubit.state.registrationError?.isNotEmpty == true
? widget.cubit.state.registrationError!
: s.error_desc,
widget.cubit.state.registrationError?.isNotEmpty == true ? widget.cubit.state.registrationError! : s.error_desc,
style: TextStyles.textMMediumAuto.copyWith(color: appTheme.darkGrey),
),
),

View File

@@ -1,6 +1,6 @@
name: eatvio_app
description: A new Flutter project.
version: 1.3.11+91
version: 1.3.11+92
publish_to: 'none'
environment: