pull/32/head
kunfei 5 years ago
parent debcf6836d
commit 3c0b6a3d29
  1. 3
      app/src/main/java/io/legado/app/ui/widget/page/TextPageFactory.kt

@ -19,7 +19,8 @@ class TextPageFactory private constructor(dataSource: DataSource) :
} }
override fun pageAt(index: Int): TextPage { override fun pageAt(index: Int): TextPage {
TODO("todo...") return dataSource.getCurrentChapter()?.page(index)
?: TextPage(index = index, title = "index:$index")
} }
override fun moveToFirst() { override fun moveToFirst() {

Loading…
Cancel
Save