pull/34/head
kunfei 5 years ago
parent d1cbf843bc
commit e846858488
  1. 1
      app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt
  2. 1
      app/src/main/java/io/legado/app/ui/widget/page/PageView.kt

@ -52,7 +52,6 @@ class ContentView : FrameLayout {
callBack?.scrollToLine(line)
}
if (content_text_view.atBottom()) {
setPageIndex(pageSize - 1)
callBack?.scrollToLast()
}
}

@ -247,6 +247,7 @@ class PageView(context: Context, attrs: AttributeSet) :
if (isScrollDelegate) {
callback?.textChapter()?.let {
callback?.setPageIndex(it.lastIndex())
curPage?.setPageIndex(it.lastIndex())
}
}
}

Loading…
Cancel
Save