mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-24 06:35:46 +00:00
Fix highlighted equipment in dark mode.
This commit is contained in:
parent
fbee711fb5
commit
feaea3745b
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ class EquipmentRecyclerViewAdapter : BaseRecyclerViewAdapter<Equipment, Equipmen
|
|||
|
||||
if (gear.key == equippedGear) {
|
||||
binding.equippedIndicator.visibility = View.VISIBLE
|
||||
binding.gearContainer.setBackgroundColor(ContextCompat.getColor(context, R.color.brand_700))
|
||||
binding.gearContainer.setBackgroundColor(ContextCompat.getColor(context, R.color.lightly_tinted_background))
|
||||
binding.gearIconBackgroundView .background = ContextCompat.getDrawable(context, R.drawable.layout_rounded_bg_content)
|
||||
} else {
|
||||
binding.equippedIndicator.visibility = View.GONE
|
||||
|
|
|
|||
Loading…
Reference in a new issue