diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-08-30 23:20:53 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2019-11-23 20:06:14 +0100 |
commit | 8b5c7b2f2fb43b4f1884e683d60dd2553b9aa994 (patch) | |
tree | 5acc7a5af54bb5319eccbfb509e7f0c807aadee1 /resources/qml | |
parent | Replace timeline with empty qml view (diff) | |
download | nheko-8b5c7b2f2fb43b4f1884e683d60dd2553b9aa994.tar.xz |
Add placeholder timeline model
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 11 |
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 + } + } } |