リアクションを表示する際にnote.emojisに情報があれば参照する
This commit is contained in:
parent
dde8dbef3a
commit
da52d0c2c9
|
@ -2445,10 +2445,11 @@ internal class ItemViewHolder(
|
|||
setTextColor(content_color)
|
||||
setPadding(paddingH, paddingV, paddingH, paddingV)
|
||||
|
||||
val emojiUrl = App1.custom_emoji_lister
|
||||
.getMap(access_info.host, true)
|
||||
?.get(customCode)
|
||||
?.let {
|
||||
val emoji = status.custom_emojis?.get(customCode)
|
||||
?: App1.custom_emoji_lister.getMap(access_info.host, true)
|
||||
?.get(customCode)
|
||||
|
||||
val emojiUrl = emoji?.let {
|
||||
if(Pref.bpDisableEmojiAnimation(this@ItemViewHolder.activity.pref)) {
|
||||
it.static_url
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue