after successful registration navigate user to update profile and then to home
This commit is contained in:
parent
a4da309164
commit
668cbb36c7
2 changed files with 3 additions and 2 deletions
|
|
@ -60,7 +60,8 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
|
|||
//print("Here4");
|
||||
//print(response.statusCode);
|
||||
if (response.statusCode == 200) {
|
||||
Navigator.of(context).pushNamed('/', arguments: widget.signedInUser);
|
||||
Navigator.of(context)
|
||||
.popAndPushNamed('/', arguments: widget.signedInUser);
|
||||
String message =
|
||||
"${widget.signedInUser.email}'s information has been updated successfully!";
|
||||
successPopUp(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue