forked from eatvio/eatvio_app
fix(registration): update navigation to verify email screen and streamline error message display
This commit is contained in:
@@ -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),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user