fix: Wallet type check when registering key service (#1111)

* fix: Wallet type check when registering key service

* fix: WalletConnect dependency registration
This commit is contained in:
Adegoke David
2023-10-05 15:04:08 +03:00
committed by GitHub
parent 4c60b178be
commit bad9b4c608
2 changed files with 9 additions and 5 deletions
@@ -23,7 +23,7 @@ class ConnectionSyncPage extends BasePage {
@override
String get title => S.current.connection_sync;
final Web3WalletService web3walletService;
final Web3WalletService? web3walletService;
final DashboardViewModel dashboardViewModel;
@override
@@ -91,7 +91,7 @@ class ConnectionSyncPage extends BasePage {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) {
return WalletConnectConnectionsView(web3walletService: web3walletService);
return WalletConnectConnectionsView(web3walletService: web3walletService!);
},
),
);