nheko/resources/qml/TimelineView.qml

23 lines
300 B
QML
Raw Normal View History

2019-08-30 19:29:25 +02:00
import QtQuick 2.1
Rectangle {
anchors.fill: parent
Text {
2019-08-30 23:20:53 +02:00
visible: !timeline
2019-08-30 19:29:25 +02:00
anchors.centerIn: parent
text: qsTr("No room open")
font.pointSize: 24
}
2019-08-30 23:20:53 +02:00
ListView {
visible: timeline != undefined
anchors.fill: parent
model: timeline
delegate: Text {
text: userId
}
}
2019-08-30 19:29:25 +02:00
}