CWA-198 | added transaction history panel to dashboard page; added fiat currency symbol to transaction_info; changed date_section_raw, trade_row and transaction_raw

This commit is contained in:
Oleksandr Sobol
2020-04-16 21:41:04 +03:00
parent b7198f4f6c
commit 823030403a
28 changed files with 255 additions and 53 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class TransactionInfo {
String amountFormatted() => '${formatAmount(moneroAmountToString(amount: amount))} XMR';
String fiatAmount() => _fiatAmount ?? '';
String fiatAmount(String symbol) => _fiatAmount != null ? symbol + ' ' + _fiatAmount : '';
void changeFiatAmount(String amount) => _fiatAmount = formatAmount(amount);
}