From 0feef2268d49a19b4c69d7cd3053b8b23ed53f5e Mon Sep 17 00:00:00 2001 From: reemuru Date: Fri, 18 Mar 2022 19:22:07 -0500 Subject: [PATCH] TitleBar: Remove lock icon on essentials display The lock functionality is shown on the initial welcome screen and the WizardHome. Remove the lock icon until the wallet is actually open, similar to the "Close this wallet" logic. Fixes 346913f: ("SettingsWallet: lock wallet on demand") --- components/TitleBar.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/TitleBar.qml b/components/TitleBar.qml index 1720c457..b7485465 100644 --- a/components/TitleBar.qml +++ b/components/TitleBar.qml @@ -64,11 +64,13 @@ Rectangle { State { name: "default"; PropertyChanges { target: btnCloseWallet; visible: true} + PropertyChanges { target: btnLockWallet; visible: true} PropertyChanges { target: btnLanguageToggle; visible: true} }, State { // show only theme switcher and window controls name: "essentials"; PropertyChanges { target: btnCloseWallet; visible: false} + PropertyChanges { target: btnLockWallet; visible: false} PropertyChanges { target: btnLanguageToggle; visible: false} } ]