pull/5507/head
mertsincan 2024-04-02 08:55:18 +01:00
parent 4c36268045
commit 1217bfbcd2
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 });
});
});*/
}
}
};