Fix for duplicate read
This commit is contained in:
parent
7f5bc4a3e5
commit
9cbeccfa15
@ -404,7 +404,9 @@ class LibraryUpdateJob(private val context: Context, workerParams: WorkerParamet
|
||||
readChapters.any { it.chapterNumber == chapter.chapterNumber }
|
||||
}
|
||||
|
||||
setReadStatus.await(true, *newReadChapters.toTypedArray())
|
||||
if (newReadChapters.isNotEmpty()) {
|
||||
setReadStatus.await(true, *newReadChapters.toTypedArray())
|
||||
}
|
||||
|
||||
this.filterNot { newReadChapters.contains(it) }
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user