Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Nov 14, 2022
1 parent e8a97c1 commit a65031d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/io/legado/app/ui/book/toc/TocActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class TocActivity : VMBaseActivity<ActivityChapterListBinding, TocViewModel>() {
return false
}
})
setOnQueryTextFocusChangeListener { v, hasFocus ->
setOnQueryTextFocusChangeListener { _, hasFocus ->
if (!hasFocus) {
searchView?.isIconified = true
}
Expand Down

0 comments on commit a65031d

Please sign in to comment.