pull/32/head
kunfei 5 years ago
parent 4d19aaedb3
commit bfcdd57459
  1. 2
      app/src/main/java/io/legado/app/ui/widget/page/TextPageFactory.kt

@ -43,7 +43,7 @@ class TextPageFactory private constructor(dataSource: DataSource) : PageFactory<
} }
override fun currentPage(): TextPage? { override fun currentPage(): TextPage? {
return TextPage(index, "index:$index") return dataSource.getCurrentChapter()?.page(index)
} }
override fun nextPage(): TextPage? { override fun nextPage(): TextPage? {

Loading…
Cancel
Save