Improve facial hair display

This commit is contained in:
Phillip Thelen 2022-07-28 09:57:08 +02:00
parent a9e09db6bd
commit b1d5cccb77

View file

@ -28,6 +28,10 @@ class PurchaseDialogCustomizationSetContent(context: Context) : PurchaseDialogCo
imageView.layoutParams = FlexboxLayout.LayoutParams(76.dpToPx(context), 76.dpToPx(context))
binding.imageViewWrapper.addView(imageView)
}
binding.notesTextView.text = item.notes
if (item.path?.contains("facialHair") == true) {
binding.notesTextView.text = context.getString(R.string.facial_hair_notes)
} else {
binding.notesTextView.text = item.notes
}
}
}