sign in smoothness

This commit is contained in:
2024-08-26 16:09:15 +02:00
parent 3efa6f9df1
commit 339c6868ef
4 changed files with 28 additions and 28 deletions

View File

@@ -49,7 +49,7 @@ class _RegisterState extends State<Register> {
}),
);
if (response.statusCode == 201) {
Navigator.of(context).popAndPushNamed('/home');
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
signUpSuccess();
// setState(() {
// successfulSignUp = true;