Merge pull request #91 from yaso-meth/BUG--Update-nagivation-post-profile-update

fix navigation post business profile update
This commit is contained in:
yaso-meth
2025-03-05 10:25:10 +02:00
committed by GitHub

View File

@@ -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.";