From 84481ff30860fc3cffcd4caea94db60818b72a2e Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Thu, 20 Aug 2020 13:49:08 +0200 Subject: [PATCH] fix(AssetAndAmountSelector): correct function name --- ui/shared/AssetAndAmountInput.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/shared/AssetAndAmountInput.qml b/ui/shared/AssetAndAmountInput.qml index c7b703ef9c..64f18f2c99 100644 --- a/ui/shared/AssetAndAmountInput.qml +++ b/ui/shared/AssetAndAmountInput.qml @@ -146,7 +146,7 @@ Item { anchors.rightMargin: Style.current.smallPadding onSelectedAssetChanged: { txtBalance.text = Utils.stripTrailingZeros(selectAsset.selectedAsset.value) - if (inputAmount.text === "" || isNan(inputAmount.text)) { + if (inputAmount.text === "" || isNaN(inputAmount.text)) { return } txtFiatBalance.text = root.getFiatValue(inputAmount.text, selectAsset.selectedAsset.symbol, root.defaultCurrency)