mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 18:48:47 +00:00
fix: make emoijs work again
This commit is contained in:
parent
63963039eb
commit
d814484c72
@ -13,6 +13,7 @@ import shared.panels 1.0
|
||||
|
||||
//TODO remove this dependency
|
||||
import "../../../app/AppLayouts/Chat/panels"
|
||||
import "./emojiList.js" as EmojiJSON
|
||||
|
||||
import StatusQ.Core.Theme 0.1
|
||||
import StatusQ.Components 0.1
|
||||
|
@ -93,7 +93,7 @@ Item {
|
||||
width: emojiSection.imageWidth
|
||||
height: emojiSection.imageWidth
|
||||
//TODO EMOJI SVG?
|
||||
source: "../../imports/assets/twemoji/svg/" + modelData.filename + "?22x22"
|
||||
source: "../../assets/twemoji/svg/" + modelData.filename + "?22x22"
|
||||
|
||||
MouseArea {
|
||||
cursorShape: Qt.PointingHandCursor
|
||||
|
@ -11,7 +11,7 @@ StatusInputListPopup {
|
||||
|
||||
id: emojiSuggestions
|
||||
getImageSource: function (modelData) {
|
||||
return `../../imports/assets/twemoji/72x72/${modelData.unicode}.png`
|
||||
return `../../assets/twemoji/72x72/${modelData.unicode}.png`
|
||||
}
|
||||
getText: function (modelData) {
|
||||
return modelData.shortname
|
||||
|
Loading…
x
Reference in New Issue
Block a user