summaryrefslogtreecommitdiffstats
path: root/src/stores/SettingsStore.ts
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-02-11 12:07:30 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-02-11 17:43:49 +0000
commit226257cd862451abccc28894e2b0a3270c6790e9 (patch)
tree3c6516bfe1bcc258ce40afa6af6cbd9582961ad9 /src/stores/SettingsStore.ts
parentUpdate dependabot.yml to handle both app and GHA dependencies (diff)
downloadferdium-app-226257cd862451abccc28894e2b0a3270c6790e9.tar.gz
ferdium-app-226257cd862451abccc28894e2b0a3270c6790e9.tar.zst
ferdium-app-226257cd862451abccc28894e2b0a3270c6790e9.zip
rename features to better convey type
(without migration)
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) {