Don't recreate RoomPage each time and add a small loading indicator

This commit is contained in:
Carl Schwan
2020-12-17 08:59:11 +00:00
parent 2b84c5dd02
commit bd41dcc986
2 changed files with 16 additions and 7 deletions

View File

@@ -121,6 +121,14 @@ Kirigami.ScrollablePage {
room: currentRoom
}
Kirigami.PlaceholderMessage {
anchors.centerIn: parent
visible: messageListView.count === 0 && !currentRoom.allHistoryLoaded
QQC2.BusyIndicator {
running: true
}
}
QQC2.Popup {
anchors.centerIn: parent