diff options
Diffstat (limited to 'src/lib/Menu.ts')
-rw-r--r-- | src/lib/Menu.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Menu.ts b/src/lib/Menu.ts index 8ad4441d2..12dc1e42c 100644 --- a/src/lib/Menu.ts +++ b/src/lib/Menu.ts | |||
@@ -709,7 +709,7 @@ class FranzMenu implements StoresProps { | |||
709 | const { intl } = window['ferdium']; | 709 | const { intl } = window['ferdium']; |
710 | const locked = | 710 | const locked = |
711 | this.stores.settings.app.locked && | 711 | this.stores.settings.app.locked && |
712 | this.stores.settings.app.lockingFeatureEnabled && | 712 | this.stores.settings.app.isLockingFeatureEnabled && |
713 | this.stores.user.isLoggedIn; | 713 | this.stores.user.isLoggedIn; |
714 | const { actions } = this; | 714 | const { actions } = this; |
715 | const tpl = titleBarTemplateFactory(intl, locked); | 715 | const tpl = titleBarTemplateFactory(intl, locked); |
@@ -847,7 +847,7 @@ class FranzMenu implements StoresProps { | |||
847 | accelerator: `${lockFerdiumShortcutKey()}`, | 847 | accelerator: `${lockFerdiumShortcutKey()}`, |
848 | enabled: | 848 | enabled: |
849 | this.stores.user.isLoggedIn && | 849 | this.stores.user.isLoggedIn && |
850 | this.stores.settings.app.lockingFeatureEnabled, | 850 | this.stores.settings.app.isLockingFeatureEnabled, |
851 | click() { | 851 | click() { |
852 | actions.settings.update({ | 852 | actions.settings.update({ |
853 | type: 'app', | 853 | type: 'app', |