mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 19:18:53 +00:00
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…
x
Reference in New Issue
Block a user