From cd067311191ccba39ec6be67da545995a3cc2623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Thu, 9 May 2024 13:55:28 +0200 Subject: [PATCH] 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 --- ui/StatusQ/src/StatusQ/Components/StatusLetterIdenticon.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusLetterIdenticon.qml b/ui/StatusQ/src/StatusQ/Components/StatusLetterIdenticon.qml index fedbcec15a..5f1c5bc09c 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusLetterIdenticon.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusLetterIdenticon.qml @@ -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 { } } } -