Skip to content

Commit

Permalink
Show notice when settings saved
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaoumov committed Jun 19, 2024
1 parent 59f4215 commit 586c856
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/FixRequireModulesSettingsTab.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
Notice,
PluginSettingTab,
Setting,
} from "obsidian";
Expand Down Expand Up @@ -62,6 +63,7 @@ Leave blank if you don't use startup script.
.setButtonText("Save settings")
.onClick(async () => {
await this.plugin.saveSettings(settings);
new Notice("Settings saved");
})
);

Expand Down

0 comments on commit 586c856

Please sign in to comment.