fix navigation post business profile update
This commit is contained in:
parent
00e3fa7505
commit
8422f23e92
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).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.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue