fix: community tag icon is missing
- check for emoji using either `iconId` or `iconHex` as a fallback if the former fails (can happen with some emojis) Fixes #14599
This commit is contained in:
parent
d703d0e87f
commit
cd06731119
|
@ -31,7 +31,7 @@ Rectangle {
|
|||
anchors.centerIn: parent
|
||||
width: Math.round(parent.width / 2)
|
||||
height: Math.round(parent.height / 2)
|
||||
emojiId: Emoji.iconId(root.emoji, root.emojiSize) || ""
|
||||
emojiId: Emoji.iconId(root.emoji, root.emojiSize) || Emoji.iconHex(root.emoji) || ""
|
||||
}
|
||||
|
||||
StatusBaseText {
|
||||
|
@ -86,4 +86,3 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue