mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-22 06:28:39 +02:00
fix: fiat amount mapping key in unspent coins list (#2785)
This commit is contained in:
@@ -76,7 +76,7 @@ abstract class UnspentCoinsListViewModelBase with Store {
|
||||
final formatted = formatAmountToString(item.value);
|
||||
final cryptoAmount = double.tryParse(formatted.replaceAll(',', '')) ?? 0.0;
|
||||
final fiatValue = price * cryptoAmount;
|
||||
result[item.hash] = fiatCurrency.title + ' ' + fiatValue.toStringAsFixed(2);
|
||||
result[item.amount] = fiatCurrency.title + ' ' + fiatValue.toStringAsFixed(2);
|
||||
}
|
||||
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user