1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-24 09:25:33 +02:00

theme: reload cached image on theme change

Change-Id: Idf683c3c68c22889fb3e605112167930f2729cd8
This commit is contained in:
Andreas Traczyk 2025-03-14 14:17:47 -04:00
parent 03efee4c14
commit 37065cb7d6

View file

@ -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"