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

FilesToSendDelegate: fix document preview

GitLab: #1089

Change-Id: Ia17f68998fb1b71f2cfbe0406a1dfffc283af0c2
This commit is contained in:
Franck LAURENT 2023-04-25 14:28:00 -04:00 committed by Sébastien Blin
parent 836b64a180
commit a7e9ea8e22

View file

@ -74,15 +74,7 @@ Item {
visible: !IsImage
anchors.fill: parent
anchors.margins: 14
source: {
if(mediaInfo.isVideo)
return JamiResources.video_file_svg
if(mediaInfo.isAudio)
return JamiResources.audio_file_svg
return JamiResources.attached_file_svg
}
source: JamiResources.attached_file_svg
cache: false
color: JamiTheme.textColor
}