mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:44:08 +02:00
Parse balance correctly
This commit is contained in:
parent
ed5445ec51
commit
db16035f26
2 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,7 @@ Item {
|
|||
Hifi.QmlCommerce {
|
||||
id: commerce;
|
||||
onBalanceResult : {
|
||||
balanceText.text = parseFloat(balance/100).toFixed(2);
|
||||
balanceText.text = parseFloat(result.data.balance/100).toFixed(2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -451,6 +451,7 @@ Rectangle {
|
|||
root.lastPage = "passphrase";
|
||||
choosePassphraseContainer.visible = false;
|
||||
privateKeysReadyContainer.visible = true;
|
||||
commerce.balance(); // Do this here so that keys are generated. Order might change as backend changes?
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue