fix navigation post business profile update

This commit is contained in:
2025-03-05 10:18:01 +02:00
parent 00e3fa7505
commit 8422f23e92

View File

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