diff --git a/ui/StatusQ/src/StatusQ/Controls/StatusCommunityTag.qml b/ui/StatusQ/src/StatusQ/Controls/StatusCommunityTag.qml index d2afbde10a..f5ebe71c68 100644 --- a/ui/StatusQ/src/StatusQ/Controls/StatusCommunityTag.qml +++ b/ui/StatusQ/src/StatusQ/Controls/StatusCommunityTag.qml @@ -24,6 +24,7 @@ Rectangle { id: mouseArea anchors.fill: parent hoverEnabled: true + cursorShape: Qt.PointingHandCursor onClicked: root.clicked() } @@ -32,7 +33,7 @@ Rectangle { anchors.centerIn: parent StatusEmoji { - emojiId: root.emoji != "" ? Emoji.iconId(root.emoji) : "" + emojiId: root.emoji != "" ? Emoji.iconHex(root.emoji) : "" anchors.verticalCenter: parent.verticalCenter } diff --git a/ui/StatusQ/src/StatusQ/Core/Utils/Emoji.qml b/ui/StatusQ/src/StatusQ/Core/Utils/Emoji.qml index 695b91d46c..bebbb472b3 100644 --- a/ui/StatusQ/src/StatusQ/Core/Utils/Emoji.qml +++ b/ui/StatusQ/src/StatusQ/Core/Utils/Emoji.qml @@ -48,6 +48,10 @@ QtObject { const match = parsed.match('src=".*\/(.+?).svg'); return (match && match.length >= 2) ? match[1] : undefined; } + // NOTE: doing the same thing as iconId but without checking Twemoji internal checks + function iconHex(text) { + return text.codePointAt(0).toString(16); + } function fromCodePoint(value) { return Twemoji.twemoji.convert.fromCodePoint(value) } diff --git a/ui/StatusQ/src/assets/twemoji/26x26/39e.png b/ui/StatusQ/src/assets/twemoji/26x26/39e.png new file mode 100644 index 0000000000..f9a90680c3 Binary files /dev/null and b/ui/StatusQ/src/assets/twemoji/26x26/39e.png differ diff --git a/ui/StatusQ/src/assets/twemoji/72x72/39e.png b/ui/StatusQ/src/assets/twemoji/72x72/39e.png new file mode 100644 index 0000000000..08300cfd52 Binary files /dev/null and b/ui/StatusQ/src/assets/twemoji/72x72/39e.png differ diff --git a/ui/StatusQ/src/assets/twemoji/svg/39e.svg b/ui/StatusQ/src/assets/twemoji/svg/39e.svg new file mode 100644 index 0000000000..51ae437f78 --- /dev/null +++ b/ui/StatusQ/src/assets/twemoji/svg/39e.svg @@ -0,0 +1,8 @@ + + + + + + + +