feat(settings): refresh window when toggling background effects

This commit is contained in:
Elian Doran 2024-12-09 22:16:11 +02:00
parent 3bcd79c625
commit a6f29bfbf3
No known key found for this signature in database

View File

@ -37,7 +37,10 @@ export default class ElectronIntegrationOptions extends OptionsWidget {
}); });
this.$backgroundEffects = this.$widget.find("input.background-effects"); this.$backgroundEffects = this.$widget.find("input.background-effects");
this.$backgroundEffects.on("change", () => this.updateCheckboxOption("backgroundEffects", this.$backgroundEffects)); this.$backgroundEffects.on("change", async () => {
await this.updateCheckboxOption("backgroundEffects", this.$backgroundEffects);
utils.reloadFrontendApp("background effect change");
});
} }
isEnabled() { isEnabled() {