pull/475/head
gedoor 4 years ago
parent e8a8a3dfd6
commit 63b09350e8
  1. 8
      app/src/main/java/io/legado/app/ui/book/read/page/PageView.kt

@ -295,8 +295,12 @@ class PageView(context: Context, attrs: AttributeSet) :
private fun click(action: Int) {
when (action) {
0 -> callBack.showActionMenu()
1 -> pageDelegate?.nextPageByAnim(defaultAnimationSpeed)
2 -> pageDelegate?.prevPageByAnim(defaultAnimationSpeed)
1 -> if (AppConfig.clickTurnPage) {
pageDelegate?.nextPageByAnim(defaultAnimationSpeed)
}
2 -> if (AppConfig.clickTurnPage) {
pageDelegate?.prevPageByAnim(defaultAnimationSpeed)
}
}
}

Loading…
Cancel
Save