mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
main: hide Unlock time when switching wallets
This commit is contained in:
parent
59fc48bd8b
commit
616fd6603f
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 New Issue
Block a user