From 62e99caf75d03f4752ce310add6555dd50ca778a Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 21 Dec 2019 10:51:39 +0800 Subject: [PATCH] up --- .../main/java/io/legado/app/ui/book/search/SearchActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt b/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt index 0ffefda51..2cf9cae3d 100644 --- a/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/search/SearchActivity.kt @@ -180,7 +180,7 @@ class SearchActivity : VMBaseActivity(R.layout.activity_book_se private fun openOrCloseHistory(open: Boolean) { if (open) { - upHistory("") + upHistory(search_view.query.toString()) ll_history.visibility = VISIBLE } else { ll_history.visibility = GONE