Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7abba3d authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Revert "Fix view error"

This reverts commit b31edb47
parent b31edb47
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ class SearchFragment : Fragment(), SearchView.OnQueryTextListener, SearchView.On
            onQueryTextSubmit(searchView.query.toString())
        }

        handleSplashScreen(view)
        handleSplashScreen()

        // Initialise search view
        val from = arrayOf(SUGGESTION_KEY)
@@ -111,8 +111,8 @@ class SearchFragment : Fragment(), SearchView.OnQueryTextListener, SearchView.On
        return view
    }

    private fun handleSplashScreen(view: View) {
        splashScreen = view.findViewById(R.id.search_splash)
    private fun handleSplashScreen() {
        splashScreen = view!!.findViewById(R.id.search_splash)
        if (searchViewModel.getScreenError().value == null && applicationList.isEmpty()) {
            splashScreen.visibility = View.VISIBLE
        } else {