after successful registration navigate user to update profile and then to home

This commit is contained in:
2024-07-30 11:37:24 +02:00
parent a4da309164
commit 668cbb36c7
2 changed files with 3 additions and 2 deletions

View File

@@ -218,7 +218,7 @@ class _RegisterState extends State<Register> {
} else {
await signUserUp();
if (successfulSignUp) {
Navigator.of(context).pushNamed('/home');
Navigator.of(context).popAndPushNamed('/profile');
}
}
}