A small refactoring

This commit is contained in:
2024-04-19 13:41:50 +02:00
parent ea658ffe96
commit ad259dc553
2 changed files with 12 additions and 13 deletions

View File

@ -66,9 +66,7 @@ class _LoginFormState extends State<LoginForm> {
accountsGrpc.signIn(username, "", password).then((rs) {
window.localStorage["token"] = rs.token;
window.localStorage["uuid"] = rs.uuid;
setState(() {
});
Navigator.of(context, rootNavigator: true).pop();
}).catchError((e) {
print(e);
GrpcError error = e;