Fix for duplicate read
This commit is contained in:
parent
97f22c500b
commit
6c563d7619
@ -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