diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-07-28 20:05:47 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-08-25 19:03:15 +0200 |
commit | 718a58d388abd228c6a08f9fa3365588c06923ba (patch) | |
tree | dab9877a7bd16fd291fcd16262d868cf87469c67 /resources/qml/MessageView.qml | |
parent | Port redacted messages (diff) | |
download | nheko-718a58d388abd228c6a08f9fa3365588c06923ba.tar.xz |
Get rid of redundant constructions and make room implicit
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 41d996c1..417a4f5a 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -65,7 +65,7 @@ Item { width: chat.delegateMaxWidth height: Math.max((section.item?.height ?? 0) + gridContainer.implicitHeight, 10) anchors.horizontalCenter: ListView.view.contentItem.horizontalCenter - room: chatRoot.roommodel + //room: chatRoot.roommodel required property var day required property bool isSender @@ -203,7 +203,7 @@ Item { color: type == MtxEvent.NoticeMessage ? palette.buttonText : palette.text font.italic: type == MtxEvent.NoticeMessage - formatted: formattedBody + formatted: formattedBody + "a" Layout.fillWidth: true //Layout.maximumWidth: implicitWidth |