pull/5507/head
Cagatay Civici 2024-04-02 10:59:44 +03:00
commit a4dcc91769
1 changed files with 3 additions and 2 deletions

View File

@ -55,12 +55,13 @@ export default {
document.startViewTransition(() => this.applyTheme(event));
},
applyTheme(event) {
this.$primevue.changeTheme(this.$appState.theme, event.theme, 'theme-link', () => {
// @todo
/*this.$primevue.changeTheme(this.$appState.theme, event.theme, 'theme-link', () => {
this.$appState.theme = event.theme;
this.$appState.darkTheme = event.dark;
EventBus.emit('dark-mode-toggle', { theme: event.theme, dark: event.dark });
});
});*/
}
}
};