Merge pull request #813 from cypherstack/add_frost

Fix send view
This commit is contained in:
Diego Salazar 2024-03-18 11:12:46 -06:00 committed by GitHub
commit bc53ffc219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: