Skip to content

Commit

Permalink
Only trigger track progress on last page read (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda authored Apr 1, 2024
1 parent 0d0cd54 commit c4139b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/Reader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export function Reader() {
.updateChapter(chapter.id, {
...patch,
chapterIdToDelete: getChapterIdToDelete(),
trackProgressMangaId: manga.trackRecords.totalCount ? manga.id : undefined,
trackProgressMangaId: patch.isRead && manga.trackRecords.totalCount ? manga.id : undefined,
})
.response.catch();
};
Expand Down

0 comments on commit c4139b5

Please sign in to comment.