diff --git a/src/qml/GroupChatDrawerHeader.qml b/src/qml/GroupChatDrawerHeader.qml index b564a2def..830943eaa 100644 --- a/src/qml/GroupChatDrawerHeader.qml +++ b/src/qml/GroupChatDrawerHeader.qml @@ -82,7 +82,9 @@ ColumnLayout { Layout.leftMargin: Kirigami.Units.largeSpacing Layout.rightMargin: Kirigami.Units.largeSpacing - text: root.room && root.room.topic ? root.room.topic.replace(replaceLinks, "$1") : i18n("No Topic") + visible: text.length > 0 + + text: root.room && root.room.topic ? root.room.topic.replace(replaceLinks, "$1") : "" readonly property var replaceLinks: /(http[s]?:\/\/[^ \r\n]*)/g textFormat: TextEdit.MarkdownText wrapMode: Text.Wrap