feat(auth): optimistic navigation to verification screen
This commit is contained in:
@@ -53,10 +53,11 @@ class _RegisterViewState extends State<RegisterView> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final success = await cubit.submitStep1();
|
if (mounted) {
|
||||||
if (success && mounted) {
|
|
||||||
context.push('/register/verification', extra: cubit);
|
context.push('/register/verification', extra: cubit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cubit.sendCodeSilently();
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
Reference in New Issue
Block a user