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

Commit 1a8652c1 authored by Dayona Joseph's avatar Dayona Joseph
Browse files

Do not nullify the search list always

parent 7900bc8d
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -151,6 +151,7 @@ class SearchFragment : Fragment(), SearchView.OnQueryTextListener, SearchView.On
        searchViewModel.getScreenError().observe(this, Observer {
            if (it != null) {
                if (!isLoadingMoreApplications) {
                    applicationList.clear()
                    errorDescription.text = activity!!.getString(it.description)
                    errorContainer.visibility = View.VISIBLE
                    progressBar.visibility = View.GONE
+0 −1
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ class SearchModel : SearchModelInterface {
            app.decrementUses()
        }
        loadMore(context)
        applicationList.value=null
    }

    override fun loadMore(context: Context) {