mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
use daemon target height in progress ui
This commit is contained in:
parent
80795971fe
commit
d12436a1d6
1 changed files with 1 additions and 1 deletions
2
main.qml
2
main.qml
|
@ -282,7 +282,7 @@ ApplicationWindow {
|
||||||
splashCounter = currHeight
|
splashCounter = currHeight
|
||||||
var locale = Qt.locale()
|
var locale = Qt.locale()
|
||||||
var currHeightString = currHeight.toLocaleString(locale,"f",0)
|
var currHeightString = currHeight.toLocaleString(locale,"f",0)
|
||||||
var targetHeightString = currentWallet.daemonBlockChainHeight().toLocaleString(locale,"f",0)
|
var targetHeightString = currentWallet.daemonBlockChainTargetHeight().toLocaleString(locale,"f",0)
|
||||||
var progressText = qsTr("Synchronizing blocks %1 / %2").arg(currHeightString).arg(targetHeightString);
|
var progressText = qsTr("Synchronizing blocks %1 / %2").arg(currHeightString).arg(targetHeightString);
|
||||||
console.log("Progress text: " + progressText);
|
console.log("Progress text: " + progressText);
|
||||||
splash.heightProgressText = progressText
|
splash.heightProgressText = progressText
|
||||||
|
|
Loading…
Reference in a new issue