fix(AssetAndAmountSelector): correct function name

This commit is contained in:
Pascal Precht 2020-08-20 13:49:08 +02:00 committed by Iuri Matias
parent db68a278ff
commit 84481ff308
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ Item {
anchors.rightMargin: Style.current.smallPadding anchors.rightMargin: Style.current.smallPadding
onSelectedAssetChanged: { onSelectedAssetChanged: {
txtBalance.text = Utils.stripTrailingZeros(selectAsset.selectedAsset.value) txtBalance.text = Utils.stripTrailingZeros(selectAsset.selectedAsset.value)
if (inputAmount.text === "" || isNan(inputAmount.text)) { if (inputAmount.text === "" || isNaN(inputAmount.text)) {
return return
} }
txtFiatBalance.text = root.getFiatValue(inputAmount.text, selectAsset.selectedAsset.symbol, root.defaultCurrency) txtFiatBalance.text = root.getFiatValue(inputAmount.text, selectAsset.selectedAsset.symbol, root.defaultCurrency)