From 616fd6603f26734eac31544d24af972a9b51b80c Mon Sep 17 00:00:00 2001 From: mmbyday Date: Sun, 16 Dec 2018 20:13:07 -0800 Subject: [PATCH] main: hide Unlock time when switching wallets --- main.qml | 7 +++++++ 1 file changed, 7 insertions(+) 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