mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
Fix QML glitches and crash on iOS (#658)
Fix QML glitches and crash on iOS and Android
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.25.0 FATAL_ERROR)
|
|||||||
|
|
||||||
set(PROJECT AmneziaVPN)
|
set(PROJECT AmneziaVPN)
|
||||||
|
|
||||||
project(${PROJECT} VERSION 4.4.0.0
|
project(${PROJECT} VERSION 4.4.1.1
|
||||||
DESCRIPTION "AmneziaVPN"
|
DESCRIPTION "AmneziaVPN"
|
||||||
HOMEPAGE_URL "https://amnezia.org/"
|
HOMEPAGE_URL "https://amnezia.org/"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -165,7 +165,7 @@ PageType {
|
|||||||
expandedContent: Item {
|
expandedContent: Item {
|
||||||
id: serverMenuContainer
|
id: serverMenuContainer
|
||||||
|
|
||||||
implicitHeight: root.height * 0.9
|
implicitHeight: Qt.platform.os !== "ios" ? root.height * 0.9 : screen.height * 0.77
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
drawer.expandedHeight = serverMenuContainer.implicitHeight
|
drawer.expandedHeight = serverMenuContainer.implicitHeight
|
||||||
|
|||||||
@@ -130,7 +130,7 @@ PageType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
if (header.itemAt(0)) {
|
if (header.itemAt(0) && !GC.isMobile()) {
|
||||||
defaultActiveFocusItem = serverName.textField
|
defaultActiveFocusItem = serverName.textField
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user