remove loading if user alreadfy exists

This commit is contained in:
2025-01-14 13:02:09 +02:00
parent 1c6f00b5b8
commit 4d29f3f5b4

View File

@@ -89,6 +89,7 @@ class _RegisterState extends State<Register> {
if (response.statusCode == 200) {
var userExists = jsonDecode(response.body);
if (userExists["exists"]) {
Navigator.of(context).pop();
signUpError();
} else {
var response2 = await http.post(