diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-06-11 18:53:32 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-20 21:47:22 -0400 |
commit | a76fc7d20058fa10e1345e0de0a1431a7161cd57 (patch) | |
tree | 0e4c5cec437ae0086d60be7f8425e808d5563f45 /resources/qml | |
parent | make lint (diff) | |
download | nheko-a76fc7d20058fa10e1345e0de0a1431a7161cd57.tar.xz |
Add a fancy loading spinner to the member list
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/RoomMembers.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/qml/RoomMembers.qml b/resources/qml/RoomMembers.qml index d31fe319..8060a6cc 100644 --- a/resources/qml/RoomMembers.qml +++ b/resources/qml/RoomMembers.qml @@ -109,6 +109,13 @@ ApplicationWindow { } } } + + footer: BusyIndicator { + // This is not a wonderful solution, but it is the best way to calculate whether + // all users are loaded while keeping canFetchMore() const + running: members.numUsersLoaded < members.memberCount + anchors.centerIn: parent + } } } } |