summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authormath <mathdu@protonmail.com>2022-03-19 02:31:43 -0300
committermath <mathdu@protonmail.com>2022-03-19 02:31:43 -0300
commit88d86405f81ff65e05f9a8cdc1486c6d74b41387 (patch)
tree7fdcc083a08ffada67e1c0c08043e06598bda45f /resources/qml
parentadd option to open image with external program by default (diff)
downloadnheko-88d86405f81ff65e05f9a8cdc1486c6d74b41387.tar.xz
add option to open video with external program by default
Diffstat (limited to 'resources/qml')
-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 4f19275d..5d7beaad 100644
--- a/resources/qml/delegates/PlayableMediaMessage.qml
+++ b/resources/qml/delegates/PlayableMediaMessage.qml
@@ -52,7 +52,7 @@ Item {
         height: parent.height - fileInfoLabel.height
 
         TapHandler {
-            onTapped: mediaControls.showControls()
+            onTapped: Settings.openVideoExternal ? room.openMedia(eventId) : mediaControls.showControls()
         }
 
         Image {