summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-30 19:32:28 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-31 00:48:55 +0100
commit750c64f32363df062bb44c0206f5ecb831ee9757 (patch)
tree8d7ac271bceba73164742e0919c2199da45e4401 /resources/qml/delegates/TextMessage.qml
parentFix wrapping in member events (diff)
downloadnheko-750c64f32363df062bb44c0206f5ecb831ee9757.tar.xz
Get rid of some useless code
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r--resources/qml/delegates/TextMessage.qml2
1 files changed, 1 insertions, 1 deletions
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; } </style> " + formatted.replace("<pre>", "<pre style='white-space: pre-wrap; background-color: " + Nheko.colors.alternateBase + "'>").replace("<del>", "<s>").replace("</del>", "</s>").replace("<strike>", "<s>").replace("</strike>", "</s>") - 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