From 226257cd862451abccc28894e2b0a3270c6790e9 Mon Sep 17 00:00:00 2001
From: Vijay A <vraravam@users.noreply.github.com>
Date: Sun, 11 Feb 2024 12:07:30 +0530
Subject: rename features to better convey type (without migration)

---
 src/containers/settings/EditSettingsScreen.tsx | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'src/containers/settings/EditSettingsScreen.tsx')

diff --git a/src/containers/settings/EditSettingsScreen.tsx b/src/containers/settings/EditSettingsScreen.tsx
index 528b1410b..272297700 100644
--- a/src/containers/settings/EditSettingsScreen.tsx
+++ b/src/containers/settings/EditSettingsScreen.tsx
@@ -398,7 +398,7 @@ class EditSettingsScreen extends Component<
         wakeUpHibernationSplay: Boolean(settingsData.wakeUpHibernationSplay),
         predefinedTodoServer: settingsData.predefinedTodoServer,
         customTodoServer: settingsData.customTodoServer,
-        lockingFeatureEnabled: Boolean(settingsData.lockingFeatureEnabled),
+        isLockingFeatureEnabled: Boolean(settingsData.isLockingFeatureEnabled),
         lockedPassword: useOriginalPassword
           ? this.props.stores.settings.all.app.lockedPassword
           : hash(String(settingsData.lockedPassword)),
@@ -796,13 +796,13 @@ class EditSettingsScreen extends Component<
           ),
           default: DEFAULT_APP_SETTINGS.customTodoServer,
         },
-        lockingFeatureEnabled: {
+        isLockingFeatureEnabled: {
           label: intl.formatMessage(messages.enableLock),
           value: ifUndefined<boolean>(
-            settings.all.app.lockingFeatureEnabled,
-            DEFAULT_APP_SETTINGS.lockingFeatureEnabled,
+            settings.all.app.isLockingFeatureEnabled,
+            DEFAULT_APP_SETTINGS.isLockingFeatureEnabled,
           ),
-          default: DEFAULT_APP_SETTINGS.lockingFeatureEnabled,
+          default: DEFAULT_APP_SETTINGS.isLockingFeatureEnabled,
           type: 'checkbox',
         },
         lockedPassword: {
@@ -1223,7 +1223,7 @@ class EditSettingsScreen extends Component<
       updateVersion,
       updateStatusTypes,
       isClearingAllCache,
-      lockingFeatureEnabled,
+      isLockingFeatureEnabled,
     } = app;
     const { checkForUpdates, installUpdate, clearAllCache } =
       this.props.actions.app;
@@ -1247,7 +1247,7 @@ class EditSettingsScreen extends Component<
           getCacheSize={() => app.cacheSize}
           isClearingAllCache={isClearingAllCache}
           onClearAllCache={clearAllCache}
-          lockingFeatureEnabled={lockingFeatureEnabled}
+          isLockingFeatureEnabled={isLockingFeatureEnabled}
           automaticUpdates={this.props.stores.settings.app.automaticUpdates}
           isDarkmodeEnabled={this.props.stores.settings.app.darkMode}
           isAdaptableDarkModeEnabled={
-- 
cgit v1.2.3-70-g09d2

