Skip to content

Commit

Permalink
Fixed "include chess puzzles" setting being enabled with the recipe d…
Browse files Browse the repository at this point in the history
…isabled
  • Loading branch information
revolter committed Feb 28, 2024
1 parent b07c7b6 commit 199c5cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/settings/RecipesSettingsTab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export class RecipesSettingsTab extends PluginSettingTab {
);

extraSettingsAdder.activate(async () => { await this.settingsManager.saveSettings(); });

this.#setSettingsEnabled(extraSettings, settings.isActive);
}

#addIQPuzzlesSettings(settings: IQPuzzlesRecipeSettings, settingsAdder: SettingsAdder) {
Expand Down

0 comments on commit 199c5cf

Please sign in to comment.