mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-08 11:03:30 +02:00
FilesToSendDelegate: fix document preview
GitLab: #1089 Change-Id: Ia17f68998fb1b71f2cfbe0406a1dfffc283af0c2
This commit is contained in:
parent
836b64a180
commit
a7e9ea8e22
1 changed files with 1 additions and 9 deletions
|
@ -74,15 +74,7 @@ Item {
|
||||||
visible: !IsImage
|
visible: !IsImage
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: 14
|
anchors.margins: 14
|
||||||
source: {
|
source: JamiResources.attached_file_svg
|
||||||
if(mediaInfo.isVideo)
|
|
||||||
return JamiResources.video_file_svg
|
|
||||||
|
|
||||||
if(mediaInfo.isAudio)
|
|
||||||
return JamiResources.audio_file_svg
|
|
||||||
|
|
||||||
return JamiResources.attached_file_svg
|
|
||||||
}
|
|
||||||
cache: false
|
cache: false
|
||||||
color: JamiTheme.textColor
|
color: JamiTheme.textColor
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue