From e38252e1576c7259626222067f872ffbe2b25ccb Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 24 Jun 2017 12:26:39 -0700 Subject: Fix travis --- library/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'library/src') diff --git a/library/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt b/library/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt index 45274b8..4f2bf50 100644 --- a/library/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt +++ b/library/src/main/kotlin/ca/allanwang/kau/searchview/SearchView.kt @@ -16,6 +16,7 @@ import android.widget.FrameLayout import android.widget.ImageView import android.widget.ProgressBar import ca.allanwang.kau.R +import ca.allanwang.kau.logging.KL import ca.allanwang.kau.utils.* import com.mikepenz.fastadapter.commons.adapters.FastItemAdapter import com.mikepenz.google_material_typeface_library.GoogleMaterial @@ -116,8 +117,8 @@ class SearchView @JvmOverloads constructor( this.parent = parent val item = menu.findItem(id) if (item.icon == null) item.icon = GoogleMaterial.Icon.gmd_search.toDrawable(context, 20) - gone() - item.setOnMenuItemClickListener { getMenuItemCoords(it); revealOpen(); true } + card.gone() + item.setOnMenuItemClickListener { KL.e("Click"); getMenuItemCoords(it); revealOpen(); true } shadow.setOnClickListener { revealClose() } } -- cgit v1.2.3