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

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

Don't show error while loading more apps

parent 38f2a89c
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -40,14 +40,18 @@ class CategoryModel : CategoryModelInterface {
                        categoryApplicationsList.value = result
                    }
                } else {
                    if (page == 1) {
                        screenError.value = error
                    }
                }
            })
            page++
        } else {
            if (page == 1) {
                screenError.value = Error.NO_INTERNET
            }
        }
    }

    private fun loadApplicationsSynced(context: Context): ArrayList<Application>? {
        var listApplications: ListApplicationsRequest.ListApplicationsResult? = null