mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
add missing send view args option
This commit is contained in:
parent
f68c0f4839
commit
1a5e31d046
1 changed files with 12 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue