mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Fixes for load wallet from wallet list.
This commit is contained in:
@@ -29,7 +29,7 @@ abstract class WalletListViewModelBase with Store {
|
||||
Future<void> loadWallet(WalletListItem wallet) async {
|
||||
final password =
|
||||
await _keyService.getWalletPassword(walletName: wallet.name);
|
||||
final walletService = getIt.get<WalletService>();
|
||||
final walletService = getIt.get<WalletService>(param1: wallet.type);
|
||||
_appStore.wallet = await walletService.openWallet(wallet.name, password);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user