Minor optimization

This commit is contained in:
Carl Schwan
2021-05-23 18:28:39 +02:00
parent bae7813f68
commit 7bdfdc0eec
2 changed files with 3 additions and 2 deletions

View File

@@ -221,7 +221,6 @@ Kirigami.ScrollablePage {
visible: !invitation.visible
readonly property int largestVisibleIndex: count > 0 ? indexAt(contentX + (width / 2), contentY + height - 1) : -1
readonly property bool noNeedMoreContent: !currentRoom || currentRoom.eventsHistoryJob || currentRoom.allHistoryLoaded
readonly property bool isLoaded: page.width * page.height > 10
spacing: Kirigami.Units.smallSpacing