From 17240ea8a68a793083d181b5af49b10428ab2677 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Thu, 29 Sep 2022 10:21:07 +0200 Subject: [PATCH] Don't show url for matrix.to links Since we open these in neochat directly BUG: 457835 --- qml/main.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qml/main.qml b/qml/main.qml index e37cdc2a2..2a302dbc9 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -449,14 +449,15 @@ Kirigami.ApplicationWindow { property Item hoverLinkIndicator: QQC2.Control { parent: overlay.parent - property alias text: linkText.text - opacity: text.length > 0 ? 1 : 0 + property string text + opacity: linkText.text.length > 0 ? 1 : 0 z: 20 x: 0 y: parent.height - implicitHeight contentItem: QQC2.Label { id: linkText + text: parent.text.startsWith("https://matrix.to/") ? "" : parent.text } Kirigami.Theme.colorSet: Kirigami.Theme.View background: Rectangle {