Fixed empty space at the bottom, fixed warning at main.ts

This commit is contained in:
Zain 2021-11-21 12:47:21 +05:30
parent d10a2ca747
commit 54e6000eb8
No known key found for this signature in database
GPG key ID: 84AD8F072D45C37F
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ export default class HabiticaSync extends Plugin {
this.activateView();
}
});
this.activateView();
// this.activateView();
}
async loadSettings() {
@ -44,7 +44,7 @@ export default class HabiticaSync extends Plugin {
}
async onunload() {
// await this.view.onClose();
await this.view.onClose();
this.app.workspace
.getLeavesOfType(VIEW_TYPE)