fix back button press on after register
This commit is contained in:
@@ -164,6 +164,7 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
|
|||||||
//print("Here4");
|
//print("Here4");
|
||||||
//print(response.statusCode);
|
//print(response.statusCode);
|
||||||
if (response.statusCode == 200) {
|
if (response.statusCode == 200) {
|
||||||
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context)
|
Navigator.of(context)
|
||||||
.popAndPushNamed('/', arguments: widget.arguments.signedInUser);
|
.popAndPushNamed('/', arguments: widget.arguments.signedInUser);
|
||||||
String message =
|
String message =
|
||||||
|
|||||||
Reference in New Issue
Block a user