show custom emojis in account field names (#1406)
This commit is contained in:
parent
590cfbbcd2
commit
78b7a35858
|
@ -42,7 +42,10 @@ class AccountFieldAdapter(private val linkListener: LinkListener) : RecyclerView
|
|||
|
||||
override fun onBindViewHolder(viewHolder: ViewHolder, position: Int) {
|
||||
val field = fields[position]
|
||||
viewHolder.nameTextView.text = field.name
|
||||
|
||||
val emojifiedName = CustomEmojiHelper.emojifyString(field.name, emojis, viewHolder.nameTextView)
|
||||
viewHolder.nameTextView.text = emojifiedName
|
||||
|
||||
val emojifiedValue = CustomEmojiHelper.emojifyText(field.value, emojis, viewHolder.valueTextView)
|
||||
LinkHelper.setClickableText(viewHolder.valueTextView, emojifiedValue, null, linkListener)
|
||||
|
||||
|
|
Loading…
Reference in New Issue