From b00df0112ef3db8f91fefbb8488847a3b6f4a50b Mon Sep 17 00:00:00 2001 From: Tom Rittson Date: Mon, 31 May 2021 14:04:36 +1000 Subject: [PATCH] Let all OS' use system theme on startup --- src/app/services.module.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/app/services.module.ts b/src/app/services.module.ts index 04836c7fef0..bfdf235ccde 100644 --- a/src/app/services.module.ts +++ b/src/app/services.module.ts @@ -156,11 +156,7 @@ export function initFactory(): Function { htmlEl.classList.add('locale_' + i18nService.translationLocale); let theme = await storageService.get(ConstantsService.themeKey); if (theme == null) { - if (platformUtilsService.getDevice() === DeviceType.MacOsDesktop) { - theme = await platformUtilsService.getDefaultSystemTheme(); - } else { - theme = 'light'; - } + theme = await platformUtilsService.getDefaultSystemTheme(); } htmlEl.classList.add('theme_' + theme); stateService.save(ConstantsService.disableFaviconKey,