fix navuigation post profile up[date
This commit is contained in:
parent
1acdb4a06a
commit
5bf87544d6
1 changed files with 4 additions and 2 deletions
|
|
@ -165,8 +165,10 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
|
|||
//print(response.statusCode);
|
||||
if (response.statusCode == 200) {
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context)
|
||||
.popAndPushNamed('/', arguments: widget.arguments.signedInUser);
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
'/',
|
||||
arguments: AuthArguments(true, false),
|
||||
);
|
||||
String message =
|
||||
"${widget.arguments.signedInUser.email}'s information has been updated successfully!";
|
||||
successPopUp(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue