Update BookChapterList.kt

允许在js中自定义目录排序方式
pull/893/head
bushixuanqi 4 years ago committed by GitHub
parent 26b0948b89
commit e4e9a2ce8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/src/main/java/io/legado/app/model/webBook/BookChapterList.kt

@ -36,7 +36,7 @@ object BookChapterList {
val tocRule = bookSource.getTocRule()
val nextUrlList = arrayListOf(baseUrl)
var reverse = false
var reverse = AnalyzeRule.userReverse
var listRule = tocRule.chapterList ?: ""
if (listRule.startsWith("-")) {
reverse = true
@ -271,4 +271,4 @@ object BookChapterList {
return ChapterData(chapterList, nextUrlList)
}
}
}

Loading…
Cancel
Save