diff --git a/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt b/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt index 996d0bfc2..17918285e 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/delegate/PageDelegate.kt @@ -270,8 +270,10 @@ abstract class PageDelegate(protected val pageView: PageView) { distanceX: Float, distanceY: Float ): Boolean { - curPage?.contentTextView()?.setTextIsSelectable(false) - curPage?.contentTextView()?.movementMethod = scrollingMovementMethod + curPage?.contentTextView()?.let { + it.setTextIsSelectable(false) + it.movementMethod = scrollingMovementMethod + } if (pageView.isScrollDelegate()) { curPage?.dispatchTouchEvent(e2) return true