diff --git a/main.ts b/main.ts index 76d93e5..06a6967 100644 --- a/main.ts +++ b/main.ts @@ -119,7 +119,7 @@ export default class AOSRPlugin extends Plugin { ` ) - this.addRibbonIcon('flashcards', 'Aosr', this.openView); + this.addRibbonIcon('flashcards', 'Aosr', async ()=>{await this.openView()}); this.addCommand({ id: 'aosr-open-review', name: t('OpenAosr'), diff --git a/manifest.json b/manifest.json index afbdfd7..ecdf4f2 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "aosr", "name": "Aosr", - "version": "1.1.2", + "version": "1.1.3", "minAppVersion": "0.12.0", "description": "Another obsidian spaced repetition", "author": "linanwx",