diff --git a/src/main.ts b/src/main.ts index 22d59ea..236974a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -102,6 +102,9 @@ export default class OmnivorePlugin extends Plugin { this.addSettingTab(new OmnivoreSettingTab(this.app, this)) this.scheduleSync() + + // sync when the app is loaded + await this.fetchOmnivore() } onunload() {}