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 {
anchors.right: isOutgoing ? parent.right : undefined
property real minSize: 192
property real maxSize: 256
cache: true
cache: false
fillMode: Image.PreserveAspectCrop
mipmap: true
antialiasing: true
......
......@@ -86,7 +86,7 @@ SBSMessageBase {
}
AnimatedImage {
id: img
cache: true
cache: false
source: isRemoteImage ?
LinkPreviewInfo.url :
(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