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

(cherry picked from commit bd41dcc986)
This commit is contained in:
Carl Schwan
2020-12-17 08:59:11 +00:00
parent defa3d4b77
commit 2acdf61b16
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