diff --git a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/Sticker.qml b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/Sticker.qml index ca9d04ad8d..a7bc30c382 100644 --- a/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/Sticker.qml +++ b/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/Sticker.qml @@ -2,10 +2,18 @@ import QtQuick 2.3 import "../../../../../shared" as Shared import "../../../../../imports" -Shared.ImageLoader { - id: stickerId - visible: contentType === Constants.stickerType - width: 140 - height: this.visible ? 140 : 0 - source: this.visible ? ("https://ipfs.infura.io/ipfs/" + sticker) : "" +Loader { + property color color + + id: root + active: contentType === Constants.stickerType + + sourceComponent: Component { + Shared.ImageLoader { + color: root.color + width: 140 + height: this.visible ? 140 : 0 + source: this.visible ? ("https://ipfs.infura.io/ipfs/" + sticker) : "" + } + } }