Skip to content
Snippets Groups Projects
Commit b3788e00 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

misc: do not cache AnimatedImage in message delegates

Change-Id: I8448d3eb3b277be60b6223cfe1b3956c9cbc20fd
parent b00d61fc
No related branches found
No related tags found
No related merge requests found
...@@ -294,7 +294,7 @@ Loader { ...@@ -294,7 +294,7 @@ Loader {
anchors.right: isOutgoing ? parent.right : undefined anchors.right: isOutgoing ? parent.right : undefined
property real minSize: 192 property real minSize: 192
property real maxSize: 256 property real maxSize: 256
cache: true cache: false
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
mipmap: true mipmap: true
antialiasing: true antialiasing: true
......
...@@ -86,7 +86,7 @@ SBSMessageBase { ...@@ -86,7 +86,7 @@ SBSMessageBase {
} }
AnimatedImage { AnimatedImage {
id: img id: img
cache: true cache: false
source: isRemoteImage ? source: isRemoteImage ?
LinkPreviewInfo.url : LinkPreviewInfo.url :
(hasImage ? LinkPreviewInfo.image : "") (hasImage ? LinkPreviewInfo.image : "")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment