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

Commit 7c14deb2 authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

add suggestions

parent fa7f1712
Loading
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -161,13 +161,11 @@ class ApplicationListFragment :
    private fun observeAppListLiveData() {
        viewModel.appListLiveData.observe(viewLifecycleOwner) {
            stopLoadingUI()
            if (it != null) {
                if (it.isSuccess()) {
            if (it != null && it.isSuccess()) {
                observeDownloadList(listAdapter, it)
            }
        }
    }
    }

    private fun isFusedAppsUpdated(it: ResultSupreme<List<FusedApp>>) =
        listAdapter.currentList.isEmpty() || it.data != null && viewModel.isAnyAppUpdated(
+2 −1
Original line number Diff line number Diff line
@@ -281,7 +281,8 @@ class ApplicationListRVAdapter(
            Status.INSTALLATION_ISSUE -> {
                handleInstallationIssue(view, searchApp)
            }
            else -> {}
            else -> {
            }
        }
    }