Fix binding loop warning

This commit is contained in:
Nicolas Werner 2024-03-02 01:04:24 +01:00
parent ebe2111ce1
commit f178df42b0
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -86,8 +86,7 @@ Item {
delegate: Settings.bubbles ? bubbleMessageStyle : defaultMessageStyle delegate: Settings.bubbles ? bubbleMessageStyle : defaultMessageStyle
footer: Item { footer: Item {
anchors.horizontalCenter: parent.horizontalCenter width: chat.delegateMaxWidth
anchors.margins: Nheko.paddingLarge
// hacky, but works // hacky, but works
height: loadingSpinner.height + 2 * Nheko.paddingLarge height: loadingSpinner.height + 2 * Nheko.paddingLarge
visible: (room && room.paginationInProgress) || chat.filteringInProgress visible: (room && room.paginationInProgress) || chat.filteringInProgress