update apptopbar

This commit is contained in:
Mehmet Çetin
2025-01-06 13:51:32 +03:00
parent ac83db3f67
commit 00646eec9a

View File

@@ -103,6 +103,6 @@ export class AppTopBar {
constructor(public layoutService: LayoutService) {} constructor(public layoutService: LayoutService) {}
toggleDarkMode() { toggleDarkMode() {
this.layoutService.toggleDarkMode(); this.layoutService.layoutConfig.update((state) => ({ ...state, darkTheme: !state.darkTheme }));
} }
} }