diff options
author | Lasath Fernando <devel@lasath.org> | 2020-04-28 02:07:24 -0700 |
---|---|---|
committer | Lasath Fernando <devel@lasath.org> | 2020-04-29 13:52:39 -0700 |
commit | 1f9d3024b1893da0ff438ff4ac9e9425e3561c7d (patch) | |
tree | 3bad2ac72d8fde85307c7debeec4641dc6700980 /resources/qml | |
parent | Merge pull request #183 from shocklateboy92/features/smooth-scroll (diff) | |
download | nheko-1f9d3024b1893da0ff438ff4ac9e9425e3561c7d.tar.xz |
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.
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/TimelineView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |