From 1f9d3024b1893da0ff438ff4ac9e9425e3561c7d Mon Sep 17 00:00:00 2001 From: Lasath Fernando Date: Tue, 28 Apr 2020 02:07:24 -0700 Subject: Add visual indication that data is being fetched This turns `paginationInProgress` field of `TimelineModel` into a `Q_PROPERTY`, so the Ui can bind to it. For the moment, I'm showing the same spinner as we do during initial sync. It's not ideal, on the count of being giant and in the middle but it's better than nothing. We can make it more subtle later. --- resources/qml/TimelineView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources') diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml index c42cd6e9..3651a6f1 100644 --- a/resources/qml/TimelineView.qml +++ b/resources/qml/TimelineView.qml @@ -93,7 +93,7 @@ Page { BusyIndicator { anchors.centerIn: parent - running: timelineManager.isInitialSync + running: timelineManager.isInitialSync || chat.model.paginationInProgress height: 200 width: 200 z: 3 -- cgit 1.5.1