Skip to content

Commit

Permalink
Merge pull request #52 from dartungar/dev
Browse files Browse the repository at this point in the history
additional fix for bug with starting reviews
  • Loading branch information
dartungar committed Dec 1, 2023
2 parents 083f842 + 2899be6 commit 78c26b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "simple-note-review",
"name": "Simple Note Review",
"version": "1.0.5",
"version": "1.0.6",
"minAppVersion": "1.1.0",
"description": "Simple, customizable plugin for easy note review, resurfacing & repetition.",
"author": "dartungar",
Expand Down
2 changes: 1 addition & 1 deletion src/queues/reviewService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class ReviewService {
private async openNextNoteInQueue(noteSet: INoteSet): Promise<void> {
let filePath = noteSet.queue.filenames[0];
const abstractFile = this._app.vault.getAbstractFileByPath(filePath);
await this._app.workspace.getLeaf().openFile(abstractFile as TFile);
await this._app.workspace.getMostRecentLeaf().openFile(abstractFile as TFile);
}

private async createNotesetQueue(noteSet: INoteSet): Promise<void> {
Expand Down

0 comments on commit 78c26b7

Please sign in to comment.