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 705321694..33b536d1d 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 @@ -22,7 +22,7 @@ object BookChapterList { bookSource: BookSource, baseUrl: String ): List { - var chapterList = arrayListOf() + var chapterList = ArrayList() body ?: throw Exception( App.INSTANCE.getString(R.string.error_get_web_content, baseUrl) )