Skip to content

Commit

Permalink
fix: thememanager not being correctly connected (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
iisakkirotko committed Mar 22, 2024
1 parent 58eaa5b commit ffec2bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/src/Themes.js
Expand Up @@ -29,8 +29,7 @@ export class ThemeModel extends WidgetModel {
if (ThemeModel.themeManager) {
ThemeModel.themeManager.themeChanged.connect(() => {
if (this.get("dark") === null) {
this.set("dark_effective", vuetify.framework.theme.dark);
this.save_changes();
this.setTheme();
}
}, this);
}
Expand Down

0 comments on commit ffec2bc

Please sign in to comment.