diff options
author | link2xt <link2xt@testrun.org> | 2021-03-14 00:38:49 +0300 |
---|---|---|
committer | link2xt <link2xt@testrun.org> | 2021-03-14 00:38:49 +0300 |
commit | a812f5f4eaa48ccd4ac93092b16b99f4427d706f (patch) | |
tree | 60c588a3ccb50b4b97c38b16357bd3ddf6fc569a /qml/Message.qml | |
parent | ccbfe1f74a558dd7c26f04c53bbe63c05d514633 (diff) | |
download | kdeltachat-a812f5f4eaa48ccd4ac93092b16b99f4427d706f.tar.gz kdeltachat-a812f5f4eaa48ccd4ac93092b16b99f4427d706f.zip |
QML cleanup
Diffstat (limited to 'qml/Message.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 |