mirror of
https://github.com/stfrigerio/sqliteDB.git
synced 2026-07-22 12:00:23 +00:00
passed app from main
This commit is contained in:
parent
c8e6be5a97
commit
ff7551e1ca
1 changed files with 1 additions and 2 deletions
3
main.ts
3
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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue