fix(AssetAndAmountSelector): correct function name
This commit is contained in:
parent
db68a278ff
commit
84481ff308
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue