fix for signup router
This commit is contained in:
@@ -34,7 +34,7 @@ class SignUpFormContent extends StatelessWidget {
|
||||
Row(
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: Navigator.of(context).pop,
|
||||
onPressed: onLogin,
|
||||
icon: Icon(Icons.arrow_back),
|
||||
),
|
||||
],
|
||||
@@ -59,4 +59,4 @@ class SignUpFormContent extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ class SignUpFormState extends State<SignUpForm> {
|
||||
),
|
||||
);
|
||||
|
||||
void handleLogin() => navigate(context, Pages.login);
|
||||
void handleLogin() => navigateAndReplace(context, Pages.login);
|
||||
|
||||
@override
|
||||
void dispose() {
|
||||
|
||||
Reference in New Issue
Block a user