Remove back button bug

This commit is contained in:
Moe Poi ~ 2022-05-23 01:48:57 +07:00
parent 52d555d96f
commit 00b0978caa

View file

@ -105,7 +105,7 @@ class RegisterFormState extends State<RegisterForm> {
onPressed: () {
submitForm(context).then((statusCode) {
if (statusCode == 200) {
Navigator.push(
Navigator.pushReplacement(
context,
MaterialPageRoute(
builder: (context) =>