Use a Loader instead of StackView for pageStack

This commit is contained in:
miruka
2019-08-19 15:37:48 -04:00
parent 99bbe7f3ee
commit 109082c8d8
11 changed files with 28 additions and 23 deletions

View File

@@ -24,7 +24,7 @@ Banner {
py.callClientCoro(
chatPage.userId, "room_forget", [chatPage.roomId], () => {
button.loading = false
Qt.callLater(pageStack.showPage, "Default")
Qt.callLater(pageLoader.showPage, "Default")
})
}
})

View File

@@ -49,7 +49,7 @@ HRectangle {
Layout.fillWidth: true
Layout.minimumHeight: theme.baseElementsHeight
Layout.preferredHeight: areaScrollView.implicitHeight
Layout.maximumHeight: pageStack.height / 2
Layout.maximumHeight: pageLoader.height / 2
color: theme.chat.sendBox.background
HRowLayout {