Polished
This commit is contained in:
@@ -392,7 +392,7 @@ class _onlineLoginPageState extends State<onlineLoginPage>
|
||||
final prefs = await SharedPreferences.getInstance();
|
||||
prefs.setString("username", usernameController.text);
|
||||
prefs.setString("password", passwordController.text);
|
||||
Navigator.of(context).pushNamedAndRemoveUntil('/splash', (route) => false);
|
||||
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
|
||||
}else{
|
||||
showAlertDialog(context, "Failed to login", "There was an error trying to authorize you in servers.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user