NEW: complete provider mzansi wallet

This commit is contained in:
2025-10-21 10:22:20 +02:00
parent 15106d0a00
commit c79904d132
10 changed files with 295 additions and 302 deletions

View File

@@ -276,8 +276,7 @@ class MihGoRouter {
path: MihGoRouterPaths.mzansiWallet,
builder: (BuildContext context, GoRouterState state) {
KenLogger.success("MihGoRouter: mzansiWallet");
final WalletArguments? args = state.extra as WalletArguments?;
if (args == null) {
if (context.watch<MzansiProfileProvider>().business == null) {
WidgetsBinding.instance.addPostFrameCallback((_) {
context.go(MihGoRouterPaths.mihHome);
});
@@ -285,7 +284,6 @@ class MihGoRouter {
}
return MihWallet(
key: UniqueKey(),
arguments: args,
);
},
),