Merge pull request #68 from yaso-meth/BUG--business-profile-update-navigation

fix navigation bug post business update
This commit is contained in:
yaso-meth
2025-02-03 09:58:51 +02:00
committed by GitHub

View File

@@ -123,7 +123,11 @@ class _BusinessDetailsState extends State<BusinessDetails> {
deleteFileApiCall(oldSigPath);
}
Navigator.of(context).pushNamed('/');
Navigator.of(context).pop();
Navigator.of(context).popAndPushNamed(
'/',
arguments: AuthArguments(false, false),
);
String message =
"Your business profile is now live! You can now start connecting with customers and growing your business.";
successPopUp(message);