From 9f3b6e7677f41d31a55d8dbee2599b4682093a63 Mon Sep 17 00:00:00 2001 From: Simon Knittel Date: Thu, 25 Jan 2024 17:35:36 +0100 Subject: [PATCH] feat: Only show first onboarding if defaultNote is not set --- src/main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.ts b/src/main.ts index 72efeab..cf3d7d0 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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(); } }