aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-07-08 13:57:44 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-07-08 13:57:44 -0500
commitb7b12212217ebc5d6fe9d1f49b7c3abed42449da (patch)
treeed0544397fcee0650477b7a10a979502c3654053
parent38c3534eadff67e74e66a5f28ff96d8292f40206 (diff)
parentf1b4eb6c562539ca24e81b56351be2ad19b5a7d9 (diff)
downloadmonzero-gui-b7b12212217ebc5d6fe9d1f49b7c3abed42449da.tar.gz
monzero-gui-b7b12212217ebc5d6fe9d1f49b7c3abed42449da.tar.xz
monzero-gui-b7b12212217ebc5d6fe9d1f49b7c3abed42449da.zip
Merge pull request #2997
f1b4eb6 history: remove trailing zeros in amount + fix amount display (rating89us)
-rw-r--r--pages/History.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/History.qml b/pages/History.qml
index 7ea0adab..9422593f 100644
--- a/pages/History.qml
+++ b/pages/History.qml
@@ -1511,7 +1511,7 @@ Rectangle {
"i": i,
"isout": isout,
"amount": Number(amount),
- "displayAmount": displayAmount + " XMR",
+ "displayAmount": Utils.removeTrailingZeros(displayAmount.toFixed(12)) + " XMR",
"hash": hash,
"paymentId": paymentId,
"address": address,