status-desktop/ui/app/AppLayouts/Chat/ChatColumn/MessageComponents/Sticker.qml

11 lines
256 B
QML

import QtQuick 2.3
import "../../../../../imports"
Image {
id: stickerId
visible: contentType === Constants.stickerType
width: 140
height: this.visible ? 140 : 0
source: this.visible ? ("https://ipfs.infura.io/ipfs/" + sticker) : ""
}