Skip to content
Snippets Groups Projects
Commit 37065cb7 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

theme: reload cached image on theme change

Change-Id: Idf683c3c68c22889fb3e605112167930f2729cd8
parent 03efee4c
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,14 @@ Item {
property int imageFillMode: 0
property alias image: image
// On darkTheme changed, reload the image
Connections {
target: JamiTheme
function onDarkThemeChanged() {
updateImageSource(downloadUrl, localPath, defaultImage);
}
}
AnimatedImage {
id: image
objectName: "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