pull/32/head
kunfei 5 years ago
parent 95bbd59462
commit 0061ab721a
  1. 1
      app/src/main/java/io/legado/app/ui/readbook/ReadBookActivity.kt

@ -237,6 +237,7 @@ class ReadBookActivity : VMBaseActivity<ReadBookViewModel>(R.layout.activity_rea
override fun loadContentFinish(bookChapter: BookChapter, content: String) { override fun loadContentFinish(bookChapter: BookChapter, content: String) {
launch { launch {
val textChapter = ChapterProvider().getTextChapter(content_text_view, bookChapter, content) val textChapter = ChapterProvider().getTextChapter(content_text_view, bookChapter, content)
content_text_view.text = textChapter.pages[0].text
} }
} }

Loading…
Cancel
Save