pull/34/head
kunfei 5 years ago
parent aea04f9912
commit 6561e3c7bd
  1. 3
      app/src/main/java/io/legado/app/ui/widget/page/ContentView.kt

@ -51,6 +51,9 @@ class ContentView : FrameLayout {
content_text_view.layout?.getLineForVertical(scrollY)?.let { line -> content_text_view.layout?.getLineForVertical(scrollY)?.let { line ->
callBack?.scrollToLine(line) callBack?.scrollToLine(line)
} }
if (content_text_view.atBottom()) {
setPageIndex(pageSize - 1)
}
} }
} }

Loading…
Cancel
Save