summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-19 12:32:09 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:48:03 -0400
commite91b3067a168f9729a9d4a353ff3e2ba83a473db (patch)
tree252debd2578be90d7a86c5c093aba8ef7d91b42a
parentDrop unnecessary code (diff)
downloadnheko-e91b3067a168f9729a9d4a353ff3e2ba83a473db.tar.xz
Fix visibility of spinner
-rw-r--r--resources/qml/RoomMembers.qml7
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/qml/RoomMembers.qml b/resources/qml/RoomMembers.qml

index 28e999db..0d957165 100644 --- a/resources/qml/RoomMembers.qml +++ b/resources/qml/RoomMembers.qml
@@ -114,12 +114,9 @@ ApplicationWindow { } footer: Spinner { - // This is not a wonderful solution, but it is the best way to calculate whether - // all users are loaded while keeping canFetchMore() const - - // TODO: just toggling the visiblity leaves some large empty space at the bottom - // of the list. This should be fixed. visible: members.numUsersLoaded < members.memberCount + // use the default height if it's visible, otherwise no height at all + height: visible ? undefined : 0 anchors.centerIn: parent } }