Mark duplicated chapters as read
Should have been done with fd2946d1ae, but it only deleted downloads of duplicated chapters
This commit is contained in:
@@ -253,8 +253,12 @@ export function Reader() {
|
||||
|
||||
downloadAhead();
|
||||
|
||||
const chapterIds = settings.skipDupChapters
|
||||
? Chapters.getIds(Chapters.addDuplicates([chapter], mangaChapters ?? [chapter]))
|
||||
: [chapter.id];
|
||||
|
||||
requestManager
|
||||
.updateChapters([chapter.id], {
|
||||
.updateChapters(chapterIds, {
|
||||
...patch,
|
||||
chapterIdsToDelete: getChapterIdsToDelete(),
|
||||
trackProgressMangaId:
|
||||
|
||||
Reference in New Issue
Block a user