Albirew/tachiyomi
Archivé
1
0
Bifurcation 0

Do proper check for next chapter's download status when downloading ahead

Fixes #10151 (I think?)
Cette révision appartient à :
arkon 2024-01-07 17:30:53 -05:00
Parent 4b8fa059d5
révision 5854ad97e0

Voir le fichier

@ -462,7 +462,8 @@ class ReaderViewModel @JvmOverloads constructor(
manga.title,
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()!!)