Merge pull request #91 from yaso-meth/BUG--Update-nagivation-post-profile-update
fix navigation post business profile update
This commit is contained in:
commit
dbb7c32b83
1 changed files with 8 additions and 3 deletions
|
|
@ -124,9 +124,14 @@ class _BusinessDetailsState extends State<BusinessDetails> {
|
|||
}
|
||||
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context).popAndPushNamed(
|
||||
'/',
|
||||
arguments: AuthArguments(false, false),
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context).pushNamed(
|
||||
'/business-profile/manage',
|
||||
arguments: BusinessArguments(
|
||||
widget.arguments.signedInUser,
|
||||
widget.arguments.businessUser,
|
||||
widget.arguments.business,
|
||||
),
|
||||
);
|
||||
String message =
|
||||
"Your business profile is now live! You can now start connecting with customers and growing your business.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue