diff --git a/lib/route_generator.dart b/lib/route_generator.dart index 4eb906b8a..e4d188cdf 100644 --- a/lib/route_generator.dart +++ b/lib/route_generator.dart @@ -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: