pull/32/head
kunfei 5 years ago
parent 70f10e7ff5
commit ea8ae6aa96
  1. 6
      app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt

@ -60,10 +60,8 @@ object BookChapterList {
} else if (chapterData.nextUrl.size > 1) { } else if (chapterData.nextUrl.size > 1) {
val chapterDataList = arrayListOf<ChapterData<String>>() val chapterDataList = arrayListOf<ChapterData<String>>()
for (item in chapterData.nextUrl) { for (item in chapterData.nextUrl) {
if (!nextUrlList.contains(item)) { val data = ChapterData(nextUrl = item)
val data = ChapterData(nextUrl = item) chapterDataList.add(data)
chapterDataList.add(data)
}
} }
for (item in chapterDataList) { for (item in chapterDataList) {
withContext(coroutineScope.coroutineContext) { withContext(coroutineScope.coroutineContext) {

Loading…
Cancel
Save