Remove frequent popups

This commit is contained in:
Andras Schmelczer 2025-11-27 22:21:37 +00:00
parent 13f5456b39
commit b0b5da7d37

View file

@ -75,15 +75,6 @@ export default class VaultLinkPlugin extends Plugin {
this.openSettings();
}
public onExternalSettingsChange(): void {
new Notice("VaultLink settings have changed externally, applying...");
this.syncClient?.reloadSettings().catch((err: unknown) => {
throw new Error(
`Error while reloading settings after external change: ${err}`
);
});
}
public openSettings(): void {
// eslint-disable-next-line
(this.app as any).setting.open(); // this is undocumented