From ea8ae6aa96925a44a1d613668a4e6346c1bdc74f Mon Sep 17 00:00:00 2001 From: kunfei Date: Thu, 25 Jul 2019 20:10:15 +0800 Subject: [PATCH] up --- .../java/io/legado/app/model/webbook/BookChapterList.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt b/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt index c5d21d264..93307505e 100644 --- a/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt +++ b/app/src/main/java/io/legado/app/model/webbook/BookChapterList.kt @@ -60,10 +60,8 @@ object BookChapterList { } else if (chapterData.nextUrl.size > 1) { val chapterDataList = arrayListOf>() for (item in chapterData.nextUrl) { - if (!nextUrlList.contains(item)) { - val data = ChapterData(nextUrl = item) - chapterDataList.add(data) - } + val data = ChapterData(nextUrl = item) + chapterDataList.add(data) } for (item in chapterDataList) { withContext(coroutineScope.coroutineContext) {