aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/SettingsStore.ts
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-12-22 15:12:16 -0700
committerLibravatar GitHub <noreply@github.com>2023-12-22 15:12:16 -0700
commit85927dc191a935761b3f175bcd50e7c3076acc9e (patch)
treeceeb350621d824eeb9fdc9137a64a2e820b269b9 /src/stores/SettingsStore.ts
parentReset nightly version to 6.7.1-nightly.0 (diff)
downloadferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.tar.gz
ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.tar.zst
ferdium-app-85927dc191a935761b3f175bcd50e7c3076acc9e.zip
refactor: remove unused code with knip (#1492)
- remove unused code snippets flagged by `npx knip`
Diffstat (limited to 'src/stores/SettingsStore.ts')
-rw-r--r--src/stores/SettingsStore.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/stores/SettingsStore.ts b/src/stores/SettingsStore.ts
index 90cd82690..2e8568134 100644
--- a/src/stores/SettingsStore.ts
+++ b/src/stores/SettingsStore.ts
@@ -11,17 +11,11 @@ import {
11 LOCAL_SERVER, 11 LOCAL_SERVER,
12} from '../config'; 12} from '../config';
13import { hash } from '../helpers/password-helpers'; 13import { hash } from '../helpers/password-helpers';
14import Request from './lib/Request';
15import TypedStore from './lib/TypedStore'; 14import TypedStore from './lib/TypedStore';
16 15
17const debug = require('../preload-safe-debug')('Ferdium:SettingsStore'); 16const debug = require('../preload-safe-debug')('Ferdium:SettingsStore');
18 17
19export default class SettingsStore extends TypedStore { 18export default class SettingsStore extends TypedStore {
20 @observable updateAppSettingsRequest = new Request(
21 this.api.local,
22 'updateAppSettings',
23 );
24
25 @observable loaded: boolean = false; 19 @observable loaded: boolean = false;
26 20
27 fileSystemSettingsTypes = FILE_SYSTEM_SETTINGS_TYPES; 21 fileSystemSettingsTypes = FILE_SYSTEM_SETTINGS_TYPES;