Loading app/src/main/java/foundation/e/apps/applicationlist/model/ApplicationListRVAdapter.kt +1 −1 Original line number Diff line number Diff line Loading @@ -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 -> { Loading app/src/main/java/foundation/e/apps/home/model/HomeChildRVAdapter.kt +4 −2 Original line number Diff line number Diff line Loading @@ -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) Loading Loading @@ -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 -> { Loading Loading
app/src/main/java/foundation/e/apps/applicationlist/model/ApplicationListRVAdapter.kt +1 −1 Original line number Diff line number Diff line Loading @@ -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 -> { Loading
app/src/main/java/foundation/e/apps/home/model/HomeChildRVAdapter.kt +4 −2 Original line number Diff line number Diff line Loading @@ -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) Loading Loading @@ -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 -> { Loading