fix navigation post business profile update
This commit is contained in:
@@ -124,9 +124,14 @@ class _BusinessDetailsState extends State<BusinessDetails> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
Navigator.of(context).popAndPushNamed(
|
Navigator.of(context).pop();
|
||||||
'/',
|
Navigator.of(context).pushNamed(
|
||||||
arguments: AuthArguments(false, false),
|
'/business-profile/manage',
|
||||||
|
arguments: BusinessArguments(
|
||||||
|
widget.arguments.signedInUser,
|
||||||
|
widget.arguments.businessUser,
|
||||||
|
widget.arguments.business,
|
||||||
|
),
|
||||||
);
|
);
|
||||||
String message =
|
String message =
|
||||||
"Your business profile is now live! You can now start connecting with customers and growing your business.";
|
"Your business profile is now live! You can now start connecting with customers and growing your business.";
|
||||||
|
|||||||
Reference in New Issue
Block a user