summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2019-08-30 23:20:53 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2019-11-23 20:06:14 +0100
commit8b5c7b2f2fb43b4f1884e683d60dd2553b9aa994 (patch)
tree5acc7a5af54bb5319eccbfb509e7f0c807aadee1 /resources
parentReplace timeline with empty qml view (diff)
downloadnheko-8b5c7b2f2fb43b4f1884e683d60dd2553b9aa994.tar.xz
Add placeholder timeline model
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/TimelineView.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml

index d81e3ae1..a53c8a94 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml
@@ -4,8 +4,19 @@ Rectangle { anchors.fill: parent Text { + visible: !timeline anchors.centerIn: parent text: qsTr("No room open") font.pointSize: 24 } + + ListView { + visible: timeline != undefined + anchors.fill: parent + + model: timeline + delegate: Text { + text: userId + } + } }