Fix QML glitches and crash on iOS (#658)

Fix QML glitches and crash on iOS and Android
This commit is contained in:
isamnezia 2024-03-04 02:28:10 +03:00 committed by GitHub
parent bf901631bf
commit bb7b64fb96
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -165,7 +165,7 @@ PageType {
expandedContent: Item {
id: serverMenuContainer
implicitHeight: root.height * 0.9
implicitHeight: Qt.platform.os !== "ios" ? root.height * 0.9 : screen.height * 0.77
Component.onCompleted: {
drawer.expandedHeight = serverMenuContainer.implicitHeight
@ -252,7 +252,7 @@ PageType {
model: SortFilterProxyModel {
id: proxyDefaultServerContainersModel
sourceModel: DefaultServerContainersModel
sorters: [
RoleSorter { roleName: "isInstalled"; sortOrder: Qt.DescendingOrder }
]