diff options
Diffstat (limited to 'qml')
-rw-r--r-- | qml/Message.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/qml/Message.qml b/qml/Message.qml index 6628810..73d91fc 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -25,6 +25,8 @@ RowLayout { Rectangle { Layout.preferredWidth: messageContents.width Layout.preferredHeight: messageContents.height + color: Kirigami.Theme.backgroundColor + radius: 5 Component { id: imageMessageView @@ -77,9 +79,6 @@ RowLayout { } } - color: Kirigami.Theme.backgroundColor - radius: 5 - MouseArea { anchors.fill: parent @@ -116,9 +115,6 @@ RowLayout { ColumnLayout { id: messageContents - anchors.centerIn: parent - - Loader { sourceComponent: [20, 21, 23].includes(messageObject.message.viewtype) ? imageMessageView : [40, 41].includes(messageObject.message.viewtype) ? audioMessageView : textMessageView |