From 06ccded94e245e66f374d058ffd767785a12ff22 Mon Sep 17 00:00:00 2001 From: selsta Date: Mon, 25 Nov 2019 00:57:59 +0100 Subject: [PATCH] Transfer: fix NaN fiat conversion --- pages/Transfer.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Transfer.qml b/pages/Transfer.qml index f5f8cb2a..4bb61fec 100644 --- a/pages/Transfer.qml +++ b/pages/Transfer.qml @@ -168,7 +168,7 @@ Rectangle { labelText: qsTr("\ Amount ( Change account )") + translationManager.emptyString - copyButton: persistentSettings.fiatPriceEnabled + copyButton: !isNaN(amountLine.text) && persistentSettings.fiatPriceEnabled copyButtonText: fiatApiCurrencySymbol() + " ~" + fiatApiConvertToFiat(amountLine.text) copyButtonEnabled: false