update nav podst update
This commit is contained in:
@@ -122,12 +122,12 @@ class _MihBusinessProfileState extends State<MihBusinessProfile> {
|
|||||||
}
|
}
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
'/business-profile/manage',
|
'/',
|
||||||
arguments: BusinessArguments(
|
arguments: AuthArguments(
|
||||||
widget.arguments.signedInUser,
|
false,
|
||||||
widget.arguments.businessUser,
|
false,
|
||||||
widget.arguments.business,
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
String message =
|
String message =
|
||||||
|
|||||||
@@ -144,12 +144,20 @@ class _MihPersonalProfileState extends State<MihPersonalProfile> {
|
|||||||
//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).pop();
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).pushNamed(
|
Navigator.of(context).pushNamed(
|
||||||
'/user-profile',
|
'/',
|
||||||
arguments: AppProfileUpdateArguments(
|
arguments: AuthArguments(
|
||||||
widget.arguments.signedInUser, widget.arguments.propicFile),
|
true,
|
||||||
|
false,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
// Navigator.of(context).pushNamed(
|
||||||
|
// '/mzansi-profile',
|
||||||
|
// arguments: AppProfileUpdateArguments(
|
||||||
|
// widget.arguments.signedInUser, widget.arguments.propicFile),
|
||||||
|
// );
|
||||||
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