From e98456353d9cc9e987c2508e7f12dce4f37092d8 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Thu, 28 Jul 2022 16:39:17 +0200 Subject: [PATCH] fix clear btn in search --- .../main/java/com/github/libretube/fragments/SearchFragment.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/github/libretube/fragments/SearchFragment.kt b/app/src/main/java/com/github/libretube/fragments/SearchFragment.kt index 1c3e1c2f1..4012ee830 100644 --- a/app/src/main/java/com/github/libretube/fragments/SearchFragment.kt +++ b/app/src/main/java/com/github/libretube/fragments/SearchFragment.kt @@ -66,6 +66,7 @@ class SearchFragment : Fragment() { binding.clearSearchImageView.setOnClickListener { binding.autoCompleteTextView.text.clear() + binding.historyRecycler.visibility = View.GONE showHistory() }