feat: 优化代码

pull/105/head
kunfei 5 years ago
parent 655d790a6e
commit 80b6dfab14
  1. 4
      app/src/main/java/io/legado/app/ui/book/read/page/delegate/PageDelegate.kt

@ -279,13 +279,13 @@ abstract class PageDelegate(protected val pageView: PageView) {
if (!hasNext()) {
return true
}
setDirection(Direction.PREV)
setDirection(Direction.NEXT)
setBitmap()
} else {
if (!hasPrev()) {
return true
}
setDirection(Direction.NEXT)
setDirection(Direction.PREV)
setBitmap()
}
setTouchPoint(x, y)

Loading…
Cancel
Save