aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.ts
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-11-28 23:19:19 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-11-28 23:21:35 +0530
commitdfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722 (patch)
treed616402bb7fbac94ca6027b6bc40151d482b9f98 /src/config.ts
parentfix: ensure default values are working for the all fields in all settings scr... (diff)
downloadferdium-app-dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722.tar.gz
ferdium-app-dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722.tar.zst
ferdium-app-dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722.zip
Moved default service settings into different struct so as to de-pollute config on user's machine
Diffstat (limited to 'src/config.ts')
-rw-r--r--src/config.ts20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/config.ts b/src/config.ts
index ceadda645..dd83bd05b 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -427,19 +427,10 @@ export const DEFAULT_APP_SETTINGS = {
427 alwaysShowWorkspaces: false, 427 alwaysShowWorkspaces: false,
428 liftSingleInstanceLock: false, 428 liftSingleInstanceLock: false,
429 enableLongPressServiceHint: false, 429 enableLongPressServiceHint: false,
430 proxyFeatureEnabled: false, 430 isTodosFeatureEnabled: true,
431 proxyHost: '',
432 proxyPort: 0,
433 proxyUser: '',
434 proxyPassword: '',
435 onlyShowFavoritesInUnreadCount: false,
436 customTodoServer: '', 431 customTodoServer: '',
437 locale: 'en-US', 432 locale: 'en-US',
438 keepAllWorkspacesLoaded: false, 433 keepAllWorkspacesLoaded: false,
439 isFeatureEnabledByUser: true,
440 darkReaderBrightness: 100,
441 darkReaderContrast: 90,
442 darkReaderSepia: 10,
443}; 434};
444 435
445export const DEFAULT_SERVICE_SETTINGS = { 436export const DEFAULT_SERVICE_SETTINGS = {
@@ -464,4 +455,13 @@ export const DEFAULT_SERVICE_SETTINGS = {
464 allowFavoritesDelineationInUnreadCount: false, 455 allowFavoritesDelineationInUnreadCount: false,
465 disablewebsecurity: false, 456 disablewebsecurity: false,
466 spellcheckerLanguage: false, 457 spellcheckerLanguage: false,
458 onlyShowFavoritesInUnreadCount: false,
459 proxyFeatureEnabled: false,
460 proxyHost: '',
461 proxyPort: 0,
462 proxyUser: '',
463 proxyPassword: '',
464 darkReaderBrightness: 100,
465 darkReaderContrast: 90,
466 darkReaderSepia: 10,
467}; 467};