diff --git a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/CustomizationRecyclerViewAdapter.kt b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/CustomizationRecyclerViewAdapter.kt index 43faa1a41..ada4ea8c3 100644 --- a/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/CustomizationRecyclerViewAdapter.kt +++ b/Habitica/src/main/java/com/habitrpg/android/habitica/ui/adapter/CustomizationRecyclerViewAdapter.kt @@ -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)