Consider unread chapters only for "mark prev as read"

Otherwise, the "last read at" timestamp gets unintentionally updated
This commit is contained in:
schroda
2025-07-25 01:50:04 +02:00
parent 9a9dbab7df
commit bd6653ff88

View File

@@ -150,7 +150,9 @@ export const ChapterActionMenuItems = ({
return [];
}
return allChapters.slice(index + 1);
const previousChapters = allChapters.slice(index + 1);
return Chapters.getNonRead(previousChapters);
};
const chaptersToUpdate = getChapters();