fix: remove unnecessary resetAutoSyncNoticeCache call when autoSyncFrontmatterKey changes

This commit is contained in:
Jiaxin Peng
2025-12-10 22:51:08 +00:00
parent eeaf7c036d
commit 5806a2831b

View File

@@ -111,7 +111,6 @@ export class ObsidianSettingTab extends PluginSettingTab {
.onChange(async (value) => { .onChange(async (value) => {
this.plugin.settings.autoSyncFrontmatterKey = value; this.plugin.settings.autoSyncFrontmatterKey = value;
await this.plugin.saveSettings(); await this.plugin.saveSettings();
this.plugin.resetAutoSyncNoticeCache();
}) })
); );