mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-15 00:55:22 +00:00
parent
7c8aca0fbc
commit
be8e2c82f0
@ -9,9 +9,10 @@ Item {
|
|||||||
property bool isCurrentUser: false
|
property bool isCurrentUser: false
|
||||||
property url source
|
property url source
|
||||||
property bool playing: true
|
property bool playing: true
|
||||||
property bool isAnimated: true
|
property bool isAnimated: !!source && source.toString().endsWith('.gif')
|
||||||
signal clicked(var image)
|
signal clicked(var image)
|
||||||
property var container
|
property var container
|
||||||
|
property alias imageAlias: imageMessage
|
||||||
|
|
||||||
id: imageContainer
|
id: imageContainer
|
||||||
width: loadingImage.visible ? loadingImage.width : imageMessage.width
|
width: loadingImage.visible ? loadingImage.width : imageMessage.width
|
||||||
|
@ -117,6 +117,9 @@ Column {
|
|||||||
source: linkData.thumbnailUrl
|
source: linkData.thumbnailUrl
|
||||||
imageWidth: 300
|
imageWidth: 300
|
||||||
isCurrentUser: root.isCurrentUser
|
isCurrentUser: root.isCurrentUser
|
||||||
|
onClicked: {
|
||||||
|
clickMessage(false, false, true, linkImage.imageAlias)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user