From c0f799a807a4e5780b3fd495e08895c4003be44b Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 6 May 2022 19:49:45 -0700 Subject: [PATCH] Update settings.service.ts --- src-ui/src/app/services/settings.service.ts | 42 +++++++++++++++++---- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index 1a424e4ca..802c55611 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -65,18 +65,46 @@ const SETTINGS: PaperlessSettings[] = [ type: 'boolean', default: false, }, - { key: SETTINGS_KEYS.DOCUMENT_LIST_SIZE, type: 'number', default: 50 }, - { key: SETTINGS_KEYS.DARK_MODE_USE_SYSTEM, type: 'boolean', default: true }, - { key: SETTINGS_KEYS.DARK_MODE_ENABLED, type: 'boolean', default: false }, + { + key: SETTINGS_KEYS.DOCUMENT_LIST_SIZE, + type: 'number', + default: 50, + }, + { + key: SETTINGS_KEYS.DARK_MODE_USE_SYSTEM, + type: 'boolean', + default: true, + }, + { + key: SETTINGS_KEYS.DARK_MODE_ENABLED, + type: 'boolean', + default: false, + }, { key: SETTINGS_KEYS.DARK_MODE_THUMB_INVERTED, type: 'boolean', default: true, }, - { key: SETTINGS_KEYS.THEME_COLOR, type: 'string', default: '' }, - { key: SETTINGS_KEYS.USE_NATIVE_PDF_VIEWER, type: 'boolean', default: false }, - { key: SETTINGS_KEYS.DATE_LOCALE, type: 'string', default: '' }, - { key: SETTINGS_KEYS.DATE_FORMAT, type: 'string', default: 'mediumDate' }, + { + key: SETTINGS_KEYS.THEME_COLOR, + type: 'string', + default: '', + }, + { + key: SETTINGS_KEYS.USE_NATIVE_PDF_VIEWER, + type: 'boolean', + default: false, + }, + { + key: SETTINGS_KEYS.DATE_LOCALE, + type: 'string', + default: '', + }, + { + key: SETTINGS_KEYS.DATE_FORMAT, + type: 'string', + default: 'mediumDate', + }, { key: SETTINGS_KEYS.NOTIFICATIONS_CONSUMER_NEW_DOCUMENT, type: 'boolean',