Remove back button bug
This commit is contained in:
parent
52d555d96f
commit
00b0978caa
1 changed files with 1 additions and 1 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue