Skip to content

Commit

Permalink
fix SearchSessionsFrgagment about ktlint failed
Browse files Browse the repository at this point in the history
  • Loading branch information
imsakuu committed Feb 16, 2020
1 parent b96b224 commit eb532fe
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ class SearchSessionsFragment : Fragment(R.layout.fragment_search_sessions), Inje
val searchView = menu.findItem(R.id.search_view).actionView as SearchView
val context = requireContext()
context.getSystemService<SearchManager>()?.let { searchManager ->
searchView.setSearchableInfo(searchManager.getSearchableInfo(requireActivity().componentName))
searchView.setSearchableInfo(
searchManager.getSearchableInfo(requireActivity().componentName)
)
}
(searchView.findViewById(AppcompatRId.search_button) as ImageView).setColorFilter(
AppCompatResources.getColorStateList(
Expand Down

0 comments on commit eb532fe

Please sign in to comment.