mirror of
https://github.com/accelforce/Yuito
synced 2024-12-23 22:04:54 +01:00
show custom emojis in account field names (#1406)
This commit is contained in:
parent
b15b4fcf83
commit
7ae07111af
@ -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
Block a user