pull/34/head
kunfei 5 years ago
parent 84efd785af
commit db112d7453
  1. 5
      app/src/main/java/io/legado/app/ui/widget/page/TextChapter.kt

@ -31,7 +31,10 @@ data class TextChapter(
pages.forEach { pages.forEach {
spannableStringBuilder.append(it.text) spannableStringBuilder.append(it.text)
} }
return TextPage(0, spannableStringBuilder, title, position, pages.size) return TextPage(
index = 0, text = spannableStringBuilder, title = title,
pageSize = pages.size, chapterSize = chaptersSize, chapterIndex = position
)
} }
return null return null
} }

Loading…
Cancel
Save