unload if reset

This commit is contained in:
fyears 2024-01-13 17:03:42 +08:00
parent 3e245af50c
commit 0124a49d7e

View File

@ -2146,6 +2146,7 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
button.onClick(async () => {
await destroyDBs();
new Notice(t("settings_resetcache_notice"));
this.plugin.unload();
});
});
}