nheko/resources/qml/TimelineView.qml

26 lines
382 B
QML

import QtQuick 2.1
Rectangle {
anchors.fill: parent
Text {
visible: !timelineManager.timeline
anchors.centerIn: parent
text: qsTr("No room open")
font.pointSize: 24
}
ListView {
visible: timelineManager.timeline != null
anchors.fill: parent
id: chat
model: timelineManager.timeline
delegate: Text {
height: contentHeight
text: model.userId
}
}
}