mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-02-20 22:33:45 +02:00
Merge pull request #527
2ea54a2
adjust unlocked balance waiting text (Jaquee)
This commit is contained in:
commit
0e8b28b958
2
main.qml
2
main.qml
@ -340,7 +340,7 @@ ApplicationWindow {
|
||||
console.log("New block found - updating history")
|
||||
currentWallet.history.refresh()
|
||||
timeToUnlock = currentWallet.history.minutesToUnlock
|
||||
leftPanel.minutesToUnlockTxt = (timeToUnlock > 0)? qsTr("Unlocked balance (~%1 min)").arg(timeToUnlock) : qsTr("Unlocked balance");
|
||||
leftPanel.minutesToUnlockTxt = (timeToUnlock > 0)? (timeToUnlock == 20)? qsTr("Unlocked balance (waiting for block)").arg(timeToUnlock) : qsTr("Unlocked balance (~%1 min)").arg(timeToUnlock) : qsTr("Unlocked balance");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user