Fixes for load wallet from wallet list.

This commit is contained in:
M 2020-09-24 13:05:21 +03:00
parent 2b4ff1307c
commit 320fb396fb

View file

@ -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);
}