mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
[skip ci] minor fixes
This commit is contained in:
@@ -105,15 +105,13 @@ abstract class WalletAddressEditOrCreateViewModelBase with Store {
|
|||||||
await monero!.getSubaddressList(wallet).setLabelSubaddress(wallet,
|
await monero!.getSubaddressList(wallet).setLabelSubaddress(wallet,
|
||||||
accountIndex: monero!.getCurrentAccount(wallet).id, addressIndex: index, label: label);
|
accountIndex: monero!.getCurrentAccount(wallet).id, addressIndex: index, label: label);
|
||||||
await wallet.save();
|
await wallet.save();
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (wallet.type == WalletType.haven) {
|
if (wallet.type == WalletType.haven) {
|
||||||
await haven!.getSubaddressList(wallet).setLabelSubaddress(wallet,
|
await haven!.getSubaddressList(wallet).setLabelSubaddress(wallet,
|
||||||
accountIndex: haven!.getCurrentAccount(wallet).id,
|
accountIndex: haven!.getCurrentAccount(wallet).id,
|
||||||
addressIndex: _item?.id as int,
|
addressIndex: index,
|
||||||
label: label);
|
label: label);
|
||||||
await wallet.save();
|
await wallet.save();
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user