fix: Fixed issue with system color scheme not being applied correctly on start

This commit is contained in:
Aman Harwara
2024-03-23 00:01:54 +05:30
parent f868989bb5
commit 7967ddead7
3 changed files with 4 additions and 4 deletions

View File

@@ -247,7 +247,7 @@ export class ThemeManager extends AbstractUIService {
} else {
const theme = themes.find((theme) => theme.featureIdentifier === themeIdentifier)
if (theme && !this.components.isThemeActive(theme)) {
this.components.toggleTheme(theme).catch(console.error)
this.components.toggleTheme(theme, true).catch(console.error)
}
}
}