fix navigation bug

This commit is contained in:
2025-02-03 09:57:24 +02:00
parent 4bad223ecf
commit 9c55660fb7

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);