diff --git a/src/popup/services/services.module.ts b/src/popup/services/services.module.ts index 8b27c899bef..b35d4fd7b39 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); });