aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/SettingsStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/SettingsStore.ts')
-rw-r--r--src/stores/SettingsStore.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stores/SettingsStore.ts b/src/stores/SettingsStore.ts
index 2e8568134..010290a4a 100644
--- a/src/stores/SettingsStore.ts
+++ b/src/stores/SettingsStore.ts
@@ -61,7 +61,7 @@ export default class SettingsStore extends TypedStore {
61 let inactivityTimer; 61 let inactivityTimer;
62 getCurrentWindow().on('blur', () => { 62 getCurrentWindow().on('blur', () => {
63 if ( 63 if (
64 this.all.app.lockingFeatureEnabled && 64 this.all.app.isLockingFeatureEnabled &&
65 this.all.app.inactivityLock !== 0 65 this.all.app.inactivityLock !== 0
66 ) { 66 ) {
67 inactivityTimer = setTimeout( 67 inactivityTimer = setTimeout(
@@ -88,7 +88,7 @@ export default class SettingsStore extends TypedStore {
88 if ( 88 if (
89 !this.loaded && 89 !this.loaded &&
90 resp.type === 'app' && 90 resp.type === 'app' &&
91 resp.data.lockingFeatureEnabled 91 resp.data.isLockingFeatureEnabled
92 ) { 92 ) {
93 process.nextTick(() => { 93 process.nextTick(() => {
94 if (!this.all.app.locked) { 94 if (!this.all.app.locked) {