mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
CAKE-343 | fixed contact_list_view_model.dart and updateAddressInfo() in the monero_wallet.dart
This commit is contained in:
parent
6709b7779a
commit
c72245d904
2 changed files with 2 additions and 2 deletions
|
@ -454,7 +454,7 @@ abstract class MoneroWalletBase extends WalletBase<MoneroBalance,
|
|||
accountList.accounts.forEach((account) {
|
||||
_subaddressList.update(accountIndex: account.id);
|
||||
_subaddressList.subaddresses.forEach((subaddress) {
|
||||
_addresses.addAll({subaddress.address:subaddress.label});
|
||||
_addresses[subaddress.address] = subaddress.label;
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ abstract class ContactListViewModelBase with Store {
|
|||
walletInfoSource.values.forEach((info) {
|
||||
if (info.address?.isNotEmpty ?? false) {
|
||||
if (info.addresses != null) {
|
||||
info.addresses.forEach((address, label) {
|
||||
info.addresses?.forEach((address, label) {
|
||||
walletContacts.add(WalletContact(
|
||||
address,
|
||||
info.name + ' ($label)',
|
||||
|
|
Loading…
Reference in a new issue