From e46c98f8fd11f02db618e92af33eedcbadee39fd Mon Sep 17 00:00:00 2001 From: machiav3lli Date: Wed, 24 Nov 2021 07:55:24 +0100 Subject: [PATCH] Fix: App version text being colored when not planed (closes #109) --- .../kotlin/com/looker/droidify/ui/appsList/AppListAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/looker/droidify/ui/appsList/AppListAdapter.kt b/src/main/kotlin/com/looker/droidify/ui/appsList/AppListAdapter.kt index 36ac822a..2e83c2f2 100644 --- a/src/main/kotlin/com/looker/droidify/ui/appsList/AppListAdapter.kt +++ b/src/main/kotlin/com/looker/droidify/ui/appsList/AppListAdapter.kt @@ -178,7 +178,7 @@ class AppListAdapter(private val onClick: (ProductItem) -> Unit) : text = productItem.installedVersion.nullIfEmpty() ?: productItem.version if (background != null) { setPadding(0, 0, 0, 0) - setTextColor(holder.status.context.getColorFromAttr(android.R.attr.colorPrimary)) + setTextColor(holder.status.context.getColorFromAttr(android.R.attr.colorControlNormal)) background = null } }