Skip to content
Snippets Groups Projects
Commit a7e9ea8e authored by Franck Laurent's avatar Franck Laurent Committed by Sébastien Blin
Browse files

FilesToSendDelegate: fix document preview

GitLab: #1089

Change-Id: Ia17f68998fb1b71f2cfbe0406a1dfffc283af0c2
parent 836b64a1
No related branches found
No related tags found
No related merge requests found
...@@ -74,15 +74,7 @@ Item { ...@@ -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
} }
......
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