pull/67/head
kunfei 5 years ago
parent 946613102e
commit 62e99caf75
  1. 2
      app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt

@ -180,7 +180,7 @@ class SearchActivity : VMBaseActivity<SearchViewModel>(R.layout.activity_book_se
private fun openOrCloseHistory(open: Boolean) { private fun openOrCloseHistory(open: Boolean) {
if (open) { if (open) {
upHistory("") upHistory(search_view.query.toString())
ll_history.visibility = VISIBLE ll_history.visibility = VISIBLE
} else { } else {
ll_history.visibility = GONE ll_history.visibility = GONE

Loading…
Cancel
Save