Fix go router to work with web and ios nav

This commit is contained in:
Yasien Mac Mini 2026-05-26 13:19:34 +02:00
parent e85bf2d577
commit aee6497ccb
14 changed files with 230 additions and 226 deletions

View file

@ -19,7 +19,7 @@ class _MzansiBusinessProfileTileState extends State<MzansiBusinessProfileTile> {
Widget build(BuildContext context) {
return MihPackageTile(
onTap: () {
context.pushNamed(
context.goNamed(
"businessProfileManage",
);
// Navigator.of(context).pushNamed(

View file

@ -20,7 +20,7 @@ class _MzansiProfileTileState extends State<MzansiProfileTile> {
// ImageProvider logo = MzansiInnovationHub.of(context)!.theme.logoImage();
return MihPackageTile(
onTap: () {
context.pushNamed(
context.goNamed(
'mzansiProfileManage',
);
},