fix navuigation post profile up[date
This commit is contained in:
@@ -165,8 +165,10 @@ class _ProfileUserUpdateState extends State<ProfileUserUpdate> {
|
|||||||
//print(response.statusCode);
|
//print(response.statusCode);
|
||||||
if (response.statusCode == 200) {
|
if (response.statusCode == 200) {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context)
|
Navigator.of(context).popAndPushNamed(
|
||||||
.popAndPushNamed('/', arguments: widget.arguments.signedInUser);
|
'/',
|
||||||
|
arguments: AuthArguments(true, false),
|
||||||
|
);
|
||||||
String message =
|
String message =
|
||||||
"${widget.arguments.signedInUser.email}'s information has been updated successfully!";
|
"${widget.arguments.signedInUser.email}'s information has been updated successfully!";
|
||||||
successPopUp(message);
|
successPopUp(message);
|
||||||
|
|||||||
Reference in New Issue
Block a user