aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-tx/confirm-send-token.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-24 02:50:59 +0800
committerGitHub <noreply@github.com>2017-10-24 02:50:59 +0800
commit0cbaec16f3c373bacf02efb44a198e58152cb60b (patch)
tree1c230d35722c47b8c1009e96456c1a7611d74395 /ui/app/components/pending-tx/confirm-send-token.js
parent9984c9516aaabca18c644cfa9d3708de29a643e4 (diff)
parentb3dad510b7119c6bd89afb0059d95a6684402538 (diff)
downloadtangerine-wallet-browser-0cbaec16f3c373bacf02efb44a198e58152cb60b.tar.gz
tangerine-wallet-browser-0cbaec16f3c373bacf02efb44a198e58152cb60b.tar.zst
tangerine-wallet-browser-0cbaec16f3c373bacf02efb44a198e58152cb60b.zip
Merge pull request #2433 from danjm/NewUI-flat-precision-improvements
[NewUI] Improves precision of a calculation in send, and in confirm
Diffstat (limited to 'ui/app/components/pending-tx/confirm-send-token.js')
-rw-r--r--ui/app/components/pending-tx/confirm-send-token.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/pending-tx/confirm-send-token.js b/ui/app/components/pending-tx/confirm-send-token.js
index a4c3d16e3..cc4c5f5f4 100644
--- a/ui/app/components/pending-tx/confirm-send-token.js
+++ b/ui/app/components/pending-tx/confirm-send-token.js
@@ -224,7 +224,7 @@ ConfirmSendToken.prototype.renderTotalPlusGas = function () {
]),
h('div.confirm-screen-section-column', [
- h('div.confirm-screen-row-info', `${fiatAmount + fiatGas} ${currentCurrency}`),
+ h('div.confirm-screen-row-info', `${addCurrencies(fiatAmount, fiatGas)} ${currentCurrency}`),
h('div.confirm-screen-row-detail', `${addCurrencies(tokenAmount, tokenGas || '0')} ${symbol}`),
]),
])