summary refs log tree commit diff
path: root/resources/qml/delegates
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-02-13 23:52:40 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2023-02-14 09:16:00 -0500
commit905b127a739a7c8facf6cfa8883f58492a53f341 (patch)
tree2ccf9c2a57bda6df1bf98c09ba2a41112ce6bff9 /resources/qml/delegates
parentPause video when switching rooms (diff)
downloadnheko-905b127a739a7c8facf6cfa8883f58492a53f341.tar.xz
Add a generic video icon when there is no thumbnail
Diffstat (limited to 'resources/qml/delegates')
-rw-r--r--resources/qml/delegates/PlayableMediaMessage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/delegates/PlayableMediaMessage.qml b/resources/qml/delegates/PlayableMediaMessage.qml
index c4c143cc..8b347b58 100644
--- a/resources/qml/delegates/PlayableMediaMessage.qml
+++ b/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