mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-03 17:40:43 +00:00
Fixed CW-61 app now saves notes permanently (#299)
* Fixed CW-61 app now saves notes permanently.
This commit is contained in:
parent
3046581a91
commit
dee69310ce
1 changed files with 4 additions and 1 deletions
|
@ -28,12 +28,15 @@ abstract class UnspentCoinsListViewModelBase with Store {
|
|||
final amount = bitcoin.formatterBitcoinAmountToString(amount: elem.value) +
|
||||
' ${wallet.currency.title}';
|
||||
|
||||
final info = _unspentCoinsInfo.values
|
||||
.firstWhere((element) => element.walletId == wallet.id && element.hash == elem.hash);
|
||||
|
||||
return UnspentCoinsItem(
|
||||
address: elem.address,
|
||||
amount: amount,
|
||||
hash: elem.hash,
|
||||
isFrozen: elem.isFrozen,
|
||||
note: elem.note,
|
||||
note: info.note,
|
||||
isSending: elem.isSending
|
||||
);
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue