mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 19:18:53 +00:00
fix(StatusEmojiSection): use correct twemoji asset path
This commit is contained in:
parent
7e9570c83e
commit
e2f4c99981
@ -92,7 +92,7 @@ Item {
|
|||||||
width: emojiSection.imageWidth
|
width: emojiSection.imageWidth
|
||||||
height: emojiSection.imageWidth
|
height: emojiSection.imageWidth
|
||||||
//TODO EMOJI SVG?
|
//TODO EMOJI SVG?
|
||||||
source: "../../imports/twemoji/svg/" + modelData.filename + "?22x22"
|
source: "../../imports/assets/twemoji/svg/" + modelData.filename + "?22x22"
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
cursorShape: Qt.PointingHandCursor
|
cursorShape: Qt.PointingHandCursor
|
||||||
|
@ -11,7 +11,7 @@ StatusInputListPopup {
|
|||||||
|
|
||||||
id: emojiSuggestions
|
id: emojiSuggestions
|
||||||
getImageSource: function (modelData) {
|
getImageSource: function (modelData) {
|
||||||
return `../../imports/twemoji/72x72/${modelData.unicode}.png`
|
return `../../imports/assets/twemoji/72x72/${modelData.unicode}.png`
|
||||||
}
|
}
|
||||||
getText: function (modelData) {
|
getText: function (modelData) {
|
||||||
return modelData.shortname
|
return modelData.shortname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user