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")
This commit is contained in:
reemuru
2022-03-18 19:22:07 -05:00
parent 346913f3db
commit 0feef2268d

View File

@@ -64,11 +64,13 @@ Rectangle {
State { State {
name: "default"; name: "default";
PropertyChanges { target: btnCloseWallet; visible: true} PropertyChanges { target: btnCloseWallet; visible: true}
PropertyChanges { target: btnLockWallet; visible: true}
PropertyChanges { target: btnLanguageToggle; visible: true} PropertyChanges { target: btnLanguageToggle; visible: true}
}, State { }, State {
// show only theme switcher and window controls // show only theme switcher and window controls
name: "essentials"; name: "essentials";
PropertyChanges { target: btnCloseWallet; visible: false} PropertyChanges { target: btnCloseWallet; visible: false}
PropertyChanges { target: btnLockWallet; visible: false}
PropertyChanges { target: btnLanguageToggle; visible: false} PropertyChanges { target: btnLanguageToggle; visible: false}
} }
] ]