Minor optimization

(cherry picked from commit 7bdfdc0eec)
This commit is contained in:
Carl Schwan
2021-05-23 18:28:39 +02:00
parent 1d3d61ed77
commit ac75dd57c0
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