mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 02:49:18 +01:00
SyncChaptersWithSource: Fix early exit condition for readded chapters (#7661)
This commit is contained in:
parent
bb5a5ea25f
commit
2a875fe9b8
@ -139,7 +139,7 @@ class SyncChaptersWithSource(
|
|||||||
var updatedToAdd = toAdd.map { toAddItem ->
|
var updatedToAdd = toAdd.map { toAddItem ->
|
||||||
var chapter = toAddItem.copy(dateFetch = rightNow + itemCount--)
|
var chapter = toAddItem.copy(dateFetch = rightNow + itemCount--)
|
||||||
|
|
||||||
if (chapter.isRecognizedNumber.not() && chapter.chapterNumber !in deletedChapterNumbers) return@map chapter
|
if (chapter.isRecognizedNumber.not() || chapter.chapterNumber !in deletedChapterNumbers) return@map chapter
|
||||||
|
|
||||||
if (chapter.chapterNumber in deletedReadChapterNumbers) {
|
if (chapter.chapterNumber in deletedReadChapterNumbers) {
|
||||||
chapter = chapter.copy(read = true)
|
chapter = chapter.copy(read = true)
|
||||||
|
Loading…
Reference in New Issue
Block a user