summary refs log tree commit diff
path: root/resources/qml/MessageView.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-31 11:04:47 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-31 11:08:52 +0200
commit5b0bd26795abdf222d0cfd3e5ee3cf8e8b41a9c9 (patch)
tree9a1150352a407d5038904d5e10bbd8e3629eb6d0 /resources/qml/MessageView.qml
parentMerge pull request #655 from LorenDB/qml-all-the-things (diff)
downloadnheko-5b0bd26795abdf222d0cfd3e5ee3cf8e8b41a9c9.tar.xz
Fix annoying touch overlap in room list
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 b6f2b909..9ba5e2d0 100644
--- a/resources/qml/MessageView.qml
+++ b/resources/qml/MessageView.qml
@@ -212,9 +212,9 @@ ScrollView {
 
             // force current read index to update
             onTriggered: {
-                if (chat.model) {
+                if (chat.model)
                     chat.model.setCurrentIndex(chat.model.currentIndex);
-                }
+
             }
             interval: 1000
         }