From dfe04d3fd3f1d5b49c296faf7f7ea586cc7e6722 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 28 Nov 2022 23:19:19 +0530 Subject: Moved default service settings into different struct so as to de-pollute config on user's machine --- src/config.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/config.ts') 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 = { alwaysShowWorkspaces: false, liftSingleInstanceLock: false, enableLongPressServiceHint: false, - proxyFeatureEnabled: false, - proxyHost: '', - proxyPort: 0, - proxyUser: '', - proxyPassword: '', - onlyShowFavoritesInUnreadCount: false, + isTodosFeatureEnabled: true, customTodoServer: '', locale: 'en-US', keepAllWorkspacesLoaded: false, - isFeatureEnabledByUser: true, - darkReaderBrightness: 100, - darkReaderContrast: 90, - darkReaderSepia: 10, }; export const DEFAULT_SERVICE_SETTINGS = { @@ -464,4 +455,13 @@ export const DEFAULT_SERVICE_SETTINGS = { allowFavoritesDelineationInUnreadCount: false, disablewebsecurity: false, spellcheckerLanguage: false, + onlyShowFavoritesInUnreadCount: false, + proxyFeatureEnabled: false, + proxyHost: '', + proxyPort: 0, + proxyUser: '', + proxyPassword: '', + darkReaderBrightness: 100, + darkReaderContrast: 90, + darkReaderSepia: 10, }; -- cgit v1.2.3-54-g00ecf