pull/1705/head
kunfei 3 years ago
parent 5dfb829320
commit 3e3125d9a2
  1. 5
      app/src/main/java/io/legado/app/ui/book/searchContent/SearchContentActivity.kt

@ -87,10 +87,7 @@ class SearchContentActivity :
private fun initView() { private fun initView() {
binding.ivSearchContentTop.setOnClickListener { binding.ivSearchContentTop.setOnClickListener {
mLayoutManager.scrollToPositionWithOffset( mLayoutManager.scrollToPositionWithOffset(0, 0)
0,
0
)
} }
binding.ivSearchContentBottom.setOnClickListener { binding.ivSearchContentBottom.setOnClickListener {
if (adapter.itemCount > 0) { if (adapter.itemCount > 0) {

Loading…
Cancel
Save