summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--resources/qml/TimelineView.qml6
-rw-r--r--resources/qml/delegates/Placeholder.qml (renamed from resources/qml/delegates/placeholder.qml)0
-rw-r--r--resources/res.qrc2
3 files changed, 7 insertions, 1 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index 0642b13a..a758db9a 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -118,6 +118,10 @@ Rectangle {
roleValue: MtxEvent.Redacted
TimelineRow { view: chat; Redacted { id: kid } }
}
+ DelegateChoice {
+ //roleValue: MtxEvent.Redacted
+ TimelineRow { view: chat; Placeholder { id: kid } }
+ }
}
@@ -130,6 +134,8 @@ Rectangle {
width: parent.width
+ Component.onCompleted: chat.forceLayout()
+
Label {
id: dateBubble
anchors.horizontalCenter: parent.horizontalCenter
diff --git a/resources/qml/delegates/placeholder.qml b/resources/qml/delegates/Placeholder.qml
index 462af2db..462af2db 100644
--- a/resources/qml/delegates/placeholder.qml
+++ b/resources/qml/delegates/Placeholder.qml
diff --git a/resources/res.qrc b/resources/res.qrc
index 2e0f89ce..11a20e54 100644
--- a/resources/res.qrc
+++ b/resources/res.qrc
@@ -126,6 +126,6 @@
<file>qml/delegates/PlayableMediaMessage.qml</file>
<file>qml/delegates/FileMessage.qml</file>
<file>qml/delegates/Redacted.qml</file>
- <file>qml/delegates/placeholder.qml</file>
+ <file>qml/delegates/Placeholder.qml</file>
</qresource>
</RCC>