mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-20 04:39:04 +00:00
Fixes #1811
This commit is contained in:
parent
a0c6c302b2
commit
df993ec34d
1 changed files with 2 additions and 2 deletions
|
|
@ -191,8 +191,8 @@ class CustomizationRecyclerViewAdapter() : androidx.recyclerview.widget.Recycler
|
|||
}
|
||||
binding.priceLabel.value = customization.price?.toDouble() ?: 0.0
|
||||
}
|
||||
|
||||
if (activeCustomization == customization.identifier) {
|
||||
val identifier = if (customization.type == "chair") "chair_${customization.identifier}" else customization.identifier
|
||||
if (activeCustomization == identifier) {
|
||||
binding.wrapper.background = ContextCompat.getDrawable(itemView.context, R.drawable.layout_rounded_bg_window_tint_border)
|
||||
} else {
|
||||
binding.wrapper.background = ContextCompat.getDrawable(itemView.context, R.drawable.layout_rounded_bg_window)
|
||||
|
|
|
|||
Loading…
Reference in a new issue