mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
main: hide Unlock time when switching wallets
This commit is contained in:
parent
59fc48bd8b
commit
616fd6603f
1 changed files with 7 additions and 0 deletions
7
main.qml
7
main.qml
|
@ -923,6 +923,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
// close wallet and show wizard
|
// close wallet and show wizard
|
||||||
function showWizard(){
|
function showWizard(){
|
||||||
|
clearMoneroCardLabelText();
|
||||||
walletInitialized = false;
|
walletInitialized = false;
|
||||||
closeWallet();
|
closeWallet();
|
||||||
currentWallet = undefined;
|
currentWallet = undefined;
|
||||||
|
@ -1813,6 +1814,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
|
// Daemon console
|
||||||
DaemonConsole {
|
DaemonConsole {
|
||||||
id: daemonConsolePopup
|
id: daemonConsolePopup
|
||||||
|
|
Loading…
Reference in a new issue