This commit is contained in:
Bnyro 2022-06-06 16:07:34 +02:00
parent 2044977f95
commit 9a353a1286

View File

@ -42,7 +42,7 @@ class Home : Fragment() {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState) super.onViewCreated(view, savedInstanceState)
val searchButton = view.findViewById<com.google.android.material.floatingactionbutton val searchButton = view.findViewById<com.google.android.material.floatingactionbutton
.FloatingActionButton>(R.id.search_fab) .FloatingActionButton>(R.id.search_fab)
searchButton.setOnClickListener { searchButton.setOnClickListener {
findNavController().navigate(R.id.searchFragment) findNavController().navigate(R.id.searchFragment)
} }