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

Commit b17c2541 authored by Hasib Prince's avatar Hasib Prince
Browse files

App lounge: fixed install button click for unsupported apps

This fix is needed because it was broked during resolving conflicts
parent 2fba3307
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -316,6 +316,9 @@ class ApplicationListRVAdapter(
                ContextCompat.getColorStateList(view.context, android.R.color.transparent)
            strokeColor = ContextCompat.getColorStateList(view.context, R.color.colorAccent)
            setOnClickListener {
                if (mainActivityViewModel.checkUnsupportedApplication(searchApp, context)) {
                    return@setOnClickListener
                }
                if (searchApp.isFree || searchApp.isPurchased) {
                    installApplication(searchApp, appIcon)
                } else {
+3 −0
Original line number Diff line number Diff line
@@ -216,6 +216,9 @@ class HomeChildRVAdapter(
            strokeColor =
                ContextCompat.getColorStateList(view.context, R.color.colorAccent)
            setOnClickListener {
                if (mainActivityViewModel.checkUnsupportedApplication(homeApp, context)) {
                    return@setOnClickListener
                }
                if (homeApp.isFree) {
                    installApplication(homeApp, appIcon)
                } else {