pull/1625/head
kunfei 3 years ago
parent 426e09c457
commit cf91215410
  1. 1
      app/src/main/java/io/legado/app/model/localBook/TextFile.kt

@ -152,6 +152,7 @@ class TextFile(private val book: Book) {
toc.lastOrNull()?.let { toc.lastOrNull()?.let {
it.end = it.start it.end = it.start
} }
//章节字数太多进行拆分
toc.addAll(analyze(lastStart, curOffset + chapterLength)) toc.addAll(analyze(lastStart, curOffset + chapterLength))
//创建当前章节 //创建当前章节
val curChapter = BookChapter() val curChapter = BookChapter()

Loading…
Cancel
Save