Various improvements #169
1 changed files with 0 additions and 9 deletions
Remove frequent popups
commit
66d1448e7e
|
|
@ -75,15 +75,6 @@ export default class VaultLinkPlugin extends Plugin {
|
||||||
this.openSettings();
|
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 {
|
public openSettings(): void {
|
||||||
// eslint-disable-next-line
|
// eslint-disable-next-line
|
||||||
(this.app as any).setting.open(); // this is undocumented
|
(this.app as any).setting.open(); // this is undocumented
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue