summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
authorMalte E <malte.e@mailbox.org>2022-02-11 22:02:30 +0100
committerMalte E <malte.e@mailbox.org>2022-02-11 22:02:30 +0100
commitd0ac110cb7013124c511bbe3ea2dc05db9e695b2 (patch)
tree81d12ddf7159dac63d731153e1ce999301d98b28 /resources/qml/MessageView.qml
parentfixed most of the binding loops (diff)
downloadnheko-d0ac110cb7013124c511bbe3ea2dc05db9e695b2.tar.xz
Fix layout - no more binding loops (hopefully)
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r--resources/qml/MessageView.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml
index aef05a63..a00ada3e 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -33,7 +33,7 @@ ScrollView {
         //reuseItems: true
         boundsBehavior: Flickable.StopAtBounds
         pixelAligned: true
-        spacing: 4
+        spacing: 2
         verticalLayoutDirection: ListView.BottomToTop
         onCountChanged: {
             // Mark timeline as read
@@ -464,7 +464,7 @@ ScrollView {
                 property date timestamp: wrapper.timestamp
 
                 z: 4
-                active: previousMessageUserId !== undefined && previousMessageUserId !== userId || previousMessageDay !== day
+                active: previousMessageUserId !== undefined && previousMessageUserId !== userId || previousMessageDay !== day || previousMessageIsStateEvent !== isStateEvent
                 //asynchronous: true
                 sourceComponent: sectionHeader
                 visible: status == Loader.Ready