From 0514a52ff13e9ac446303d9a179d19a56e568674 Mon Sep 17 00:00:00 2001 From: James Graham Date: Sun, 2 Oct 2022 12:33:26 +0000 Subject: [PATCH] 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 --- imports/NeoChat/Page/RoomPage.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index 275245fc6..ae25df1e0 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -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) }