Skip to content

Commit

Permalink
feat: Only show first onboarding if defaultNote is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
simonknittel committed Jan 25, 2024
1 parent e7e175e commit 9f3b6e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ export default class CreateTask extends Plugin {
this.settings.firstOnboarding = new Date();
await this.saveSettings(true);

if (this.settings.defaultNote) return;

this.openOnboardingModal();
}
}

0 comments on commit 9f3b6e7

Please sign in to comment.