Fix for duplicate read
This commit is contained in:
parent
61b70cdcbb
commit
84fca4290a
1 changed files with 3 additions and 1 deletions
|
|
@ -404,7 +404,9 @@ class LibraryUpdateJob(private val context: Context, workerParams: WorkerParamet
|
||||||
readChapters.any { it.chapterNumber == chapter.chapterNumber }
|
readChapters.any { it.chapterNumber == chapter.chapterNumber }
|
||||||
}
|
}
|
||||||
|
|
||||||
setReadStatus.await(true, *newReadChapters.toTypedArray())
|
if (newReadChapters.isNotEmpty()) {
|
||||||
|
setReadStatus.await(true, *newReadChapters.toTypedArray())
|
||||||
|
}
|
||||||
|
|
||||||
this.filterNot { newReadChapters.contains(it) }
|
this.filterNot { newReadChapters.contains(it) }
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue