Fix Image Replies

Make sure that the image container has it's implicit width/height set so that the correct size can always be calculated. This was breaking images that were a reply to another message (not sure if that's legal because we don't allow but other clients do because I found one).
This commit is contained in:
James Graham
2023-08-20 18:16:51 +00:00
parent 27c4b57f0f
commit df127b88e6

View File

@@ -103,6 +103,9 @@ TimelineContainer {
property var imageItem: root.mediaInfo.animated ? animatedImageLoader.item : imageLoader.item
implicitWidth: root.mediaInfo.animated ? animatedImageLoader.width : imageLoader.width
implicitHeight: root.mediaInfo.animated ? animatedImageLoader.height : imageLoader.height
Loader {
id: imageLoader