mirror of
https://github.com/tuskyapp/Tusky
synced 2025-01-31 13:14:47 +01:00
display custom emoji in announcements (#2310)
This commit is contained in:
parent
ab6ea6dc89
commit
c3da6f901f
@ -56,7 +56,9 @@ class AnnouncementAdapter(
|
||||
val chips = holder.binding.chipGroup
|
||||
val addReactionChip = holder.binding.addReactionChip
|
||||
|
||||
LinkHelper.setClickableText(text, item.content, null, listener)
|
||||
val emojifiedText: CharSequence = item.content.emojify(item.emojis, text, animateEmojis)
|
||||
|
||||
LinkHelper.setClickableText(text, emojifiedText, item.mentions, listener)
|
||||
|
||||
// If wellbeing mode is enabled, announcement badge counts should not be shown.
|
||||
if (wellbeingEnabled) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user