Merge pull request #1832

616fd66 main: hide Unlock time when switching wallets (mmbyday)
pull/2/head
luigi1111 6 years ago
commit 4d2b454e6d
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -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