From cc59905cc26612a5fa62e69df4875e27ac78a249 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 3 Sep 2020 11:24:13 -0400 Subject: [PATCH] Update services.module.ts --- src/popup/services/services.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/popup/services/services.module.ts b/src/popup/services/services.module.ts index 8b27c899be..b35d4fd7b3 100644 --- a/src/popup/services/services.module.ts +++ b/src/popup/services/services.module.ts @@ -91,7 +91,7 @@ export function initFactory(platformUtilsService: PlatformUtilsService, i18nServ if (theme == null) { theme = platformUtilsService.getDefaultSystemTheme(); - platformUtilsService.onDefaultSystemThemeChange(theme => { + platformUtilsService.onDefaultSystemThemeChange((theme) => { window.document.documentElement.classList.remove('theme_light', 'theme_dark'); window.document.documentElement.classList.add('theme_' + theme); });