mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-14 16:47:25 +00:00
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…
x
Reference in New Issue
Block a user