Fix: App version text being colored when not planed (closes #109)

This commit is contained in:
machiav3lli 2021-11-24 07:55:24 +01:00
parent 37faf6aa7c
commit e46c98f8fd

View File

@ -178,7 +178,7 @@ class AppListAdapter(private val onClick: (ProductItem) -> Unit) :
text = productItem.installedVersion.nullIfEmpty() ?: productItem.version text = productItem.installedVersion.nullIfEmpty() ?: productItem.version
if (background != null) { if (background != null) {
setPadding(0, 0, 0, 0) 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 background = null
} }
} }