Busy Indicator when Backfilling Room

Add busy indicator when the user scrolls to the last available message if more are being loaded.

Closes network/neochat#48
This commit is contained in:
James Graham
2022-10-02 12:33:26 +00:00
parent 8c3666ac74
commit 0514a52ff1

View File

@@ -429,6 +429,11 @@ Kirigami.ScrollablePage {
}
headerPositioning: ListView.OverlayHeader
footer: QQC2.BusyIndicator {
anchors.centerIn: parent
visible: !currentRoom.allHistoryLoaded && !loading
}
function goToEvent(eventID) {
messageListView.positionViewAtIndex(eventToIndex(eventID), ListView.Contain)
}