summary refs log tree commit diff
path: root/resources/qml/TimelineBubbleMessageStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/qml/TimelineBubbleMessageStyle.qml')
-rw-r--r--resources/qml/TimelineBubbleMessageStyle.qml9
1 files changed, 1 insertions, 8 deletions
diff --git a/resources/qml/TimelineBubbleMessageStyle.qml b/resources/qml/TimelineBubbleMessageStyle.qml
index 2df3d917..6ca5c8e1 100644
--- a/resources/qml/TimelineBubbleMessageStyle.qml
+++ b/resources/qml/TimelineBubbleMessageStyle.qml
@@ -2,15 +2,8 @@
 //
 // SPDX-License-Identifier: GPL-3.0-or-later
 
-import "./components"
-import "./delegates"
-import "./emoji"
-import "./ui"
-import "./dialogs"
-import Qt.labs.platform 1.1 as Platform
 import QtQuick
 import QtQuick.Controls
-import QtQuick.Layouts
 import QtQuick.Window
 import im.nheko
 
@@ -165,7 +158,7 @@ TimelineEvent {
             AbstractButton {
                 id: messageBubble
 
-                anchors.left: (wrapper.isStateEvent || wrapper.isSender) ? undefined : parent.left
+                anchors.left: (wrapper.isStateEvent || wrapper.isSender) ? undefined : parent.left // qmllint disable Quick.anchor-combinations
                 anchors.right: (wrapper.isStateEvent || !wrapper.isSender) ? undefined : parent.right
                 anchors.horizontalCenter: wrapper.isStateEvent ? parent.horizontalCenter : undefined