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

Commit 2fba3307 authored by Hasib Prince's avatar Hasib Prince
Browse files

App Lounge: fixed issues due to resolving conflicts

parent 43745999
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -332,7 +332,7 @@ class ApplicationListRVAdapter(
    ) {
        when {
            mainActivityViewModel.checkUnsupportedApplication(searchApp) -> {
                materialButton.isEnabled = false
                materialButton.isEnabled = true
                materialButton.text = materialButton.context.getString(R.string.not_available)
            }
            searchApp.isFree -> {
+4 −2
Original line number Diff line number Diff line
@@ -230,7 +230,9 @@ class HomeChildRVAdapter(
        homeApp: FusedApp
    ) {
        installButton.apply {
            text = context.getString(R.string.update)
            text = if (mainActivityViewModel.checkUnsupportedApplication(homeApp))
                context.getString(R.string.not_available)
            else context.getString(R.string.update)
            setTextColor(Color.WHITE)
            backgroundTintList =
                ContextCompat.getColorStateList(view.context, R.color.colorAccent)
@@ -273,7 +275,7 @@ class HomeChildRVAdapter(
    ) {
        when {
            mainActivityViewModel.checkUnsupportedApplication(homeApp) -> {
                materialButton.isEnabled = false
                materialButton.isEnabled = true
                materialButton.text = materialButton.context.getString(R.string.not_available)
            }
            homeApp.isFree -> {