reaction notification use status.emojis

This commit is contained in:
tateisu 2021-02-07 08:31:51 +09:00
parent a83e7163a6
commit fb0de9373d
2 changed files with 2 additions and 2 deletions

View File

@ -915,7 +915,8 @@ internal class ItemViewHolder(
n.time_created_at, n.time_created_at,
R.drawable.ic_face, R.drawable.ic_face,
R.string.display_name_reaction_by, R.string.display_name_reaction_by,
misskeyReaction = n.reaction ?: "?" misskeyReaction = n.reaction ?: "?",
boost_status = n_status
) )
if (n_status != null) { if (n_status != null) {
showNotificationStatus(n_status, colorBg) showNotificationStatus(n_status, colorBg)

View File

@ -354,7 +354,6 @@ object EmojiDecoder {
} }
override fun onShortCode(prevCodePoint : Int, part : String, name : String) { override fun onShortCode(prevCodePoint : Int, part : String, name : String) {
// フレニコのプロフ絵文字 // フレニコのプロフ絵文字
if(emojiMapProfile != null && name.length >= 2 && name[0] == '@') { if(emojiMapProfile != null && name.length >= 2 && name[0] == '@') {
val emojiProfile = emojiMapProfile[name] ?: emojiMapProfile[name.substring(1)] val emojiProfile = emojiMapProfile[name] ?: emojiMapProfile[name.substring(1)]