Use a Loader instead of StackView for pageStack
This commit is contained in:
@@ -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")
|
||||
})
|
||||
}
|
||||
})
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user