mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
fix(AssetAndAmountSelector): correct function name
This commit is contained in:
parent
db68a278ff
commit
84481ff308
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user