diff --git a/main.qml b/main.qml index 168473f9..f283037b 100644 --- a/main.qml +++ b/main.qml @@ -923,6 +923,7 @@ ApplicationWindow { // close wallet and show wizard function showWizard(){ + clearMoneroCardLabelText(); walletInitialized = false; closeWallet(); 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 DaemonConsole { id: daemonConsolePopup