forked from eatvio/eatvio_app
feat(email): add alert for phone verify and email verify after registration
This commit is contained in:
@@ -58,7 +58,6 @@ class MenuScreen extends StatelessWidget {
|
||||
),
|
||||
_divider(context),
|
||||
_tile(leading: ImageConstant.icnExit, title: 'Выход', onTap: _onTapLogout(context)),
|
||||
_tile(leading: ImageConstant.icnExit, title: 'Verify email', onTap: () => GoRouter.of(context).pushNamed('verifyEmailScreen')),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -59,6 +59,7 @@ class RegistrationCubit extends Cubit<RegistrationState> {
|
||||
);
|
||||
await TokenStorage.saveTokenInStorage(token);
|
||||
AppRouter.navigatorKey.currentContext?.go('/feed-screen');
|
||||
AppRouter.navigatorKey.currentContext?.goNamed('verifyEmailScreen');
|
||||
} catch (e) {
|
||||
log(e.toString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user