From a812f5f4eaa48ccd4ac93092b16b99f4427d706f Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 14 Mar 2021 00:38:49 +0300 Subject: QML cleanup --- qml/Message.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'qml') 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 -- cgit v1.2.3-70-g09d2