add missing send view args option

This commit is contained in:
sneurlax 2024-03-15 18:57:30 -05:00
parent f68c0f4839
commit 1a5e31d046

View file

@ -1861,7 +1861,19 @@ class RouteGenerator {
name: settings.name,
),
);
} else if (args is ({Coin coin, String walletId})) {
return getRoute(
shouldUseMaterialRoute: useMaterialPageRoute,
builder: (_) => SendView(
walletId: args.walletId,
coin: args.coin,
),
settings: RouteSettings(
name: settings.name,
),
);
}
return _routeError("${settings.name} invalid args: ${args.toString()}");
case TokenSendView.routeName: