fix: persist dark mode theme after page reload (#2730)

This commit is contained in:
Shubham Kumar
2025-10-29 18:36:11 -06:00
committed by GitHub
parent 2c5d977110
commit e2a6767a4f
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ export class WebAppComponent implements OnInit, OnDestroy {
this.cssClass = value;
});
this.themingService.setInitialDarkMode();
this.themingService.setDarkMode(this.settingsService.themeDarkEnabled === 'true');
this.themingService.setDarkMode(!!this.settingsService.themeDarkEnabled);
// Setup logger
if (environment.production) {