From 750c64f32363df062bb44c0206f5ecb831ee9757 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 30 Dec 2021 19:32:28 +0100 Subject: Get rid of some useless code --- resources/qml/delegates/TextMessage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/qml/delegates/TextMessage.qml') diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml index 11ad3aeb..82f136cb 100644 --- a/resources/qml/delegates/TextMessage.qml +++ b/resources/qml/delegates/TextMessage.qml @@ -32,7 +32,7 @@ MatrixText { blockquote { margin-left: 1em; } " + formatted.replace("
", "
").replace("", "").replace("", "").replace("", "").replace("", "")
-    width: parent ? parent.width : undefined
+    width: parent.width
     height: isReply ? Math.round(Math.min(timelineView.height / 8, implicitHeight)) : undefined
     clip: isReply
     selectByMouse: !Settings.mobileMode && !isReply
-- 
cgit 1.5.1