Skip to content

Commit

Permalink
make async
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nmw committed Jun 7, 2021
1 parent 94ed4e3 commit 0541e77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flashcard-modal.ts
Expand Up @@ -321,7 +321,7 @@ export class FlashcardModal extends Modal {
this.currentDeck.nextCard(this);
}

buryRelatedCards(tillNextDay: boolean) {
async buryRelatedCards(tillNextDay: boolean) {
if (tillNextDay) {
this.plugin.data.buryList.push(cyrb53(this.currentCard.cardText));
await this.plugin.savePluginData();
Expand Down

0 comments on commit 0541e77

Please sign in to comment.