NEW: fix home nav

This commit is contained in:
2025-10-21 09:53:37 +02:00
parent 2e69e1dd92
commit 15106d0a00
14 changed files with 138 additions and 149 deletions

View File

@@ -146,12 +146,7 @@ class MihGoRouter {
path: MihGoRouterPaths.aboutMih,
builder: (BuildContext context, GoRouterState state) {
KenLogger.success("MihGoRouter: aboutMih");
final bool? args = state.extra as bool?;
bool personalSelected = true;
if (args != null) {
personalSelected = args;
}
return AboutMih(personalSelected: personalSelected);
return AboutMih();
},
),
// ========================== Mzansi Profile Personal ==================================
@@ -237,12 +232,7 @@ class MihGoRouter {
path: MihGoRouterPaths.calculator,
builder: (BuildContext context, GoRouterState state) {
KenLogger.success("MihGoRouter: mihCalculator");
final bool? personalSelected = state.extra as bool?;
bool personal = true;
if (personalSelected != null) {
personal = personalSelected;
}
return MIHCalculator(personalSelected: personal);
return MIHCalculator();
},
),
// ========================== MIH Calculator ==================================