From ff7551e1ca1c6ffe3d198cfe7355e5efac0066b5 Mon Sep 17 00:00:00 2001 From: stfrigerio Date: Thu, 6 Feb 2025 11:29:18 +0100 Subject: [PATCH] passed app from main --- main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.ts b/main.ts index cc3f918..bd545ee 100644 --- a/main.ts +++ b/main.ts @@ -3,7 +3,6 @@ import { Plugin, PluginSettingTab, Setting, - Modal, Notice, FileSystemAdapter, Editor, @@ -25,7 +24,7 @@ export default class SqliteDBPlugin extends Plugin { console.log("Loading SqliteDBPlugin..."); await this.loadSettings(); - this.dbService = new DBService(); + this.dbService = new DBService(this.app); await this.openDatabase();