Do proper check for next chapter's download status when downloading ahead
Fixes #10151 (I think?) (cherry picked from commit 5854ad97e0dbada0b75feda268bf4d57a7161d01)
This commit is contained in:
parent
a2e121aba1
commit
a8eeb0715c
@ -615,7 +615,8 @@ class ReaderViewModel @JvmOverloads constructor(
|
||||
// SY <--
|
||||
manga.source,
|
||||
)
|
||||
if (isNextChapterDownloaded) return@launchIO
|
||||
if (!isNextChapterDownloaded) return@launchIO
|
||||
|
||||
val chaptersToDownload = getNextChapters.await(manga.id, nextChapter.id!!).run {
|
||||
if (readerPreferences.skipDupe().get()) {
|
||||
removeDuplicates(nextChapter.toDomainChapter()!!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user