From 226257cd862451abccc28894e2b0a3270c6790e9 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 11 Feb 2024 12:07:30 +0530 Subject: rename features to better convey type (without migration) --- src/lib/Menu.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 { const { intl } = window['ferdium']; const locked = this.stores.settings.app.locked && - this.stores.settings.app.lockingFeatureEnabled && + this.stores.settings.app.isLockingFeatureEnabled && this.stores.user.isLoggedIn; const { actions } = this; const tpl = titleBarTemplateFactory(intl, locked); @@ -847,7 +847,7 @@ class FranzMenu implements StoresProps { accelerator: `${lockFerdiumShortcutKey()}`, enabled: this.stores.user.isLoggedIn && - this.stores.settings.app.lockingFeatureEnabled, + this.stores.settings.app.isLockingFeatureEnabled, click() { actions.settings.update({ type: 'app', -- cgit v1.2.3-70-g09d2