feat(auth): optimistic navigation to verification screen

This commit is contained in:
qzl
2026-02-26 10:48:48 +08:00
parent 8e8bcfa4f5
commit 8f8b6ac263
@@ -53,10 +53,11 @@ class _RegisterViewState extends State<RegisterView> {
return;
}
final success = await cubit.submitStep1();
if (success && mounted) {
if (mounted) {
context.push('/register/verification', extra: cubit);
}
cubit.sendCodeSilently();
}
@override