mirror of
https://github.com/tuskyapp/Tusky
synced 2025-02-07 17:38:40 +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 chips = holder.binding.chipGroup
|
||||||
val addReactionChip = holder.binding.addReactionChip
|
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 wellbeing mode is enabled, announcement badge counts should not be shown.
|
||||||
if (wellbeingEnabled) {
|
if (wellbeingEnabled) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user