diff options
Diffstat (limited to 'src/stores/SettingsStore.js')
-rw-r--r-- | src/stores/SettingsStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/SettingsStore.js b/src/stores/SettingsStore.js index f551e1e49..9aade974c 100644 --- a/src/stores/SettingsStore.js +++ b/src/stores/SettingsStore.js | |||
@@ -65,7 +65,7 @@ export default class SettingsStore extends Store { | |||
65 | // Inactivity lock timer | 65 | // Inactivity lock timer |
66 | let inactivityTimer; | 66 | let inactivityTimer; |
67 | getCurrentWindow().on('blur', () => { | 67 | getCurrentWindow().on('blur', () => { |
68 | if (this.all.app.inactivityLock !== 0) { | 68 | if (this.all.app.lockingFeatureEnabled && this.all.app.inactivityLock !== 0) { |
69 | inactivityTimer = setTimeout(() => { | 69 | inactivityTimer = setTimeout(() => { |
70 | this.actions.settings.update({ | 70 | this.actions.settings.update({ |
71 | type: 'app', | 71 | type: 'app', |