mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
Fixes for load wallet from wallet list.
This commit is contained in:
parent
2b4ff1307c
commit
320fb396fb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue