diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/layout/Sidebar.tsx | 2 | ||||
-rw-r--r-- | src/components/settings/settings/EditSettingsForm.tsx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx index e423e408b..1106113f0 100644 --- a/src/components/layout/Sidebar.tsx +++ b/src/components/layout/Sidebar.tsx | |||
@@ -318,7 +318,7 @@ class Sidebar extends Component<IProps, IState> { | |||
318 | <Icon icon={mdiCheckAll} size={1.5} /> | 318 | <Icon icon={mdiCheckAll} size={1.5} /> |
319 | </button> | 319 | </button> |
320 | ) : null} | 320 | ) : null} |
321 | {stores!.settings.all.app.lockingFeatureEnabled ? ( | 321 | {stores!.settings.all.app.isLockingFeatureEnabled ? ( |
322 | <button | 322 | <button |
323 | type="button" | 323 | type="button" |
324 | className="sidebar__button" | 324 | className="sidebar__button" |
diff --git a/src/components/settings/settings/EditSettingsForm.tsx b/src/components/settings/settings/EditSettingsForm.tsx index 226dbac76..6a79fcc8f 100644 --- a/src/components/settings/settings/EditSettingsForm.tsx +++ b/src/components/settings/settings/EditSettingsForm.tsx | |||
@@ -306,7 +306,7 @@ interface IProps extends WrappedComponentProps { | |||
306 | isDarkmodeEnabled: boolean; | 306 | isDarkmodeEnabled: boolean; |
307 | isAdaptableDarkModeEnabled: boolean; | 307 | isAdaptableDarkModeEnabled: boolean; |
308 | isUseGrayscaleServicesEnabled: boolean; | 308 | isUseGrayscaleServicesEnabled: boolean; |
309 | lockingFeatureEnabled: boolean; | 309 | isLockingFeatureEnabled: boolean; |
310 | isSplitModeEnabled: boolean; | 310 | isSplitModeEnabled: boolean; |
311 | isOnline: boolean; | 311 | isOnline: boolean; |
312 | showServicesUpdatedInfoBar: boolean; | 312 | showServicesUpdatedInfoBar: boolean; |
@@ -403,7 +403,7 @@ class EditSettingsForm extends Component<IProps, IState> { | |||
403 | } | 403 | } |
404 | 404 | ||
405 | const { | 405 | const { |
406 | lockingFeatureEnabled, | 406 | isLockingFeatureEnabled, |
407 | scheduledDNDEnabled, | 407 | scheduledDNDEnabled, |
408 | reloadAfterResume, | 408 | reloadAfterResume, |
409 | useSelfSignedCertificates, | 409 | useSelfSignedCertificates, |
@@ -860,8 +860,8 @@ class EditSettingsForm extends Component<IProps, IState> { | |||
860 | 860 | ||
861 | <Hr /> | 861 | <Hr /> |
862 | 862 | ||
863 | <Toggle {...form.$('lockingFeatureEnabled').bind()} /> | 863 | <Toggle {...form.$('isLockingFeatureEnabled').bind()} /> |
864 | {lockingFeatureEnabled && ( | 864 | {isLockingFeatureEnabled && ( |
865 | <> | 865 | <> |
866 | {isMac && systemPreferences.canPromptTouchID() && ( | 866 | {isMac && systemPreferences.canPromptTouchID() && ( |
867 | <Toggle {...form.$('useTouchIdToUnlock').bind()} /> | 867 | <Toggle {...form.$('useTouchIdToUnlock').bind()} /> |