parent
7c8aca0fbc
commit
be8e2c82f0
|
@ -9,9 +9,10 @@ Item {
|
|||
property bool isCurrentUser: false
|
||||
property url source
|
||||
property bool playing: true
|
||||
property bool isAnimated: true
|
||||
property bool isAnimated: !!source && source.toString().endsWith('.gif')
|
||||
signal clicked(var image)
|
||||
property var container
|
||||
property alias imageAlias: imageMessage
|
||||
|
||||
id: imageContainer
|
||||
width: loadingImage.visible ? loadingImage.width : imageMessage.width
|
||||
|
|
|
@ -117,6 +117,9 @@ Column {
|
|||
source: linkData.thumbnailUrl
|
||||
imageWidth: 300
|
||||
isCurrentUser: root.isCurrentUser
|
||||
onClicked: {
|
||||
clickMessage(false, false, true, linkImage.imageAlias)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue