mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
[skip ci] minor fixes
This commit is contained in:
parent
912a4af866
commit
ed30cf1e13
1 changed files with 1 additions and 3 deletions
|
@ -105,15 +105,13 @@ abstract class WalletAddressEditOrCreateViewModelBase with Store {
|
|||
await monero!.getSubaddressList(wallet).setLabelSubaddress(wallet,
|
||||
accountIndex: monero!.getCurrentAccount(wallet).id, addressIndex: index, label: label);
|
||||
await wallet.save();
|
||||
return;
|
||||
}
|
||||
if (wallet.type == WalletType.haven) {
|
||||
await haven!.getSubaddressList(wallet).setLabelSubaddress(wallet,
|
||||
accountIndex: haven!.getCurrentAccount(wallet).id,
|
||||
addressIndex: _item?.id as int,
|
||||
addressIndex: index,
|
||||
label: label);
|
||||
await wallet.save();
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue