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

Commit 2afc03a6 authored by Nihar Thakkar's avatar Nihar Thakkar
Browse files

Fix bug that stopped CategoryActivity from showing error messages

parent eec1ab0a
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -101,8 +101,7 @@ class CategoryActivity : AppCompatActivity(), ApplicationManagerServiceConnectio
        // Bind to the screen error
        categoryViewModel.getScreenError().observe(this, Observer {
            if (it != null) {
                if (!isLoadingMoreApplications &&
                        applicationList.size >= Constants.RESULTS_PER_PAGE) {
                if (!isLoadingMoreApplications) {
                    errorDescription.text = getString(it.description)
                    errorContainer.visibility = View.VISIBLE
                    progressBar.visibility = View.GONE