Add a generic video icon when there is no thumbnail

pull/1365/head
Loren Burkholder 2 years ago
parent 787febdca2
commit 905b127a73
  1. 2
      resources/qml/delegates/PlayableMediaMessage.qml

@ -59,7 +59,7 @@ Item {
Image {
anchors.fill: parent
source: thumbnailUrl ? thumbnailUrl.replace("mxc://", "image://MxcImage/") + "?scale" : ""
source: thumbnailUrl ? thumbnailUrl.replace("mxc://", "image://MxcImage/") + "?scale" : "image://colorimage/:/icons/icons/ui/video-file.svg?" + Nheko.colors.windowText
asynchronous: true
fillMode: Image.PreserveAspectFit

Loading…
Cancel
Save