|
|
|
@ -41,9 +41,12 @@ GridLayout { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function setFiatValue() { |
|
|
|
function setFiatValue() { |
|
|
|
|
|
|
|
if (showAlt) |
|
|
|
fiatLabel.text = '(' + Daemon.fx.fiatValue(amount) + ' ' + Daemon.fx.fiatCurrency + ')' |
|
|
|
fiatLabel.text = '(' + Daemon.fx.fiatValue(amount) + ' ' + Daemon.fx.fiatCurrency + ')' |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
onAmountChanged: setFiatValue() |
|
|
|
|
|
|
|
|
|
|
|
Connections { |
|
|
|
Connections { |
|
|
|
target: Daemon.fx |
|
|
|
target: Daemon.fx |
|
|
|
function onQuotesUpdated() { setFiatValue() } |
|
|
|
function onQuotesUpdated() { setFiatValue() } |
|
|
|
@ -56,8 +59,5 @@ GridLayout { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Component.onCompleted: { |
|
|
|
Component.onCompleted: setFiatValue() |
|
|
|
if (showAlt) |
|
|
|
|
|
|
|
setFiatValue() |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|