From 778795139a8fbd3a813fbcc1d7074f229661c004 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 12 Mar 2024 06:48:01 -0500 Subject: [PATCH] add import sign config route --- lib/route_generator.dart | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/lib/route_generator.dart b/lib/route_generator.dart index 6f298a7c0..4eb906b8a 100644 --- a/lib/route_generator.dart +++ b/lib/route_generator.dart @@ -85,6 +85,7 @@ import 'package:stackwallet/pages/receive_view/receive_view.dart'; import 'package:stackwallet/pages/send_view/confirm_transaction_view.dart'; import 'package:stackwallet/pages/send_view/frost_ms/frost_attempt_sign_config_view.dart'; import 'package:stackwallet/pages/send_view/frost_ms/frost_create_sign_config_view.dart'; +import 'package:stackwallet/pages/send_view/frost_ms/frost_import_sign_config_view.dart'; import 'package:stackwallet/pages/send_view/frost_ms/frost_send_view.dart'; import 'package:stackwallet/pages/send_view/send_view.dart'; import 'package:stackwallet/pages/send_view/token_send_view.dart'; @@ -777,6 +778,20 @@ class RouteGenerator { } return _routeError("${settings.name} invalid args: ${args.toString()}"); + case FrostImportSignConfigView.routeName: + if (args is String) { + return getRoute( + shouldUseMaterialRoute: useMaterialPageRoute, + builder: (_) => FrostImportSignConfigView( + walletId: args, + ), + settings: RouteSettings( + name: settings.name, + ), + ); + } + return _routeError("${settings.name} invalid args: ${args.toString()}"); + case FrostCreateSignConfigView.routeName: if (args is String) { return getRoute(