mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Merge pull request #1832
616fd66
main: hide Unlock time when switching wallets (mmbyday)
This commit is contained in:
commit
4d2b454e6d
1 changed files with 7 additions and 0 deletions
7
main.qml
7
main.qml
|
@ -924,6 +924,7 @@ ApplicationWindow {
|
|||
|
||||
// close wallet and show wizard
|
||||
function showWizard(){
|
||||
clearMoneroCardLabelText();
|
||||
walletInitialized = false;
|
||||
closeWallet();
|
||||
currentWallet = undefined;
|
||||
|
@ -1816,6 +1817,12 @@ ApplicationWindow {
|
|||
}
|
||||
}
|
||||
|
||||
// reset label text. othewise potential privacy leak showing unlock time when switching wallets
|
||||
function clearMoneroCardLabelText(){
|
||||
leftPanel.minutesToUnlockTxt = qsTr("Unlocked balance")
|
||||
leftPanel.balanceLabelText = qsTr("Balance")
|
||||
}
|
||||
|
||||
// Daemon console
|
||||
DaemonConsole {
|
||||
id: daemonConsolePopup
|
||||
|
|
Loading…
Reference in a new issue