Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Jan 6, 2025
1 parent 30c3a62 commit 364bfc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class BookInfoActivity :
override fun dispatchTouchEvent(ev: MotionEvent): Boolean {
if (ev.action == MotionEvent.ACTION_DOWN) {
currentFocus?.let {
if (it === binding.tvIntro) {
if (it === binding.tvIntro && binding.tvIntro.hasSelection()) {
it.clearFocus()
}
}
Expand Down

0 comments on commit 364bfc3

Please sign in to comment.