Merge pull request #539 from amnezia-vpn/bugfix/android
Fix Android bugs
This commit is contained in:
commit
5c5935c738
11 changed files with 96 additions and 62 deletions
|
@ -25,7 +25,7 @@ DrawerType {
|
|||
|
||||
property string configExtension: ".vpn"
|
||||
property string configCaption: qsTr("Save AmneziaVPN config")
|
||||
property string configFileName: "amnezia_config.vpn"
|
||||
property string configFileName: "amnezia_config"
|
||||
|
||||
width: parent.width
|
||||
height: parent.height * 0.9
|
||||
|
|
|
@ -66,8 +66,8 @@ PageType {
|
|||
|
||||
ColumnLayout {
|
||||
Layout.alignment: Qt.AlignBaseline
|
||||
Layout.preferredWidth: Qt.platform.os === "ios"? 0 : root.width / 3
|
||||
visible: Qt.platform.os !== "ios"
|
||||
Layout.preferredWidth: GC.isMobile() ? 0 : root.width / 3
|
||||
visible: !GC.isMobile()
|
||||
|
||||
ImageButtonType {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
@ -91,7 +91,7 @@ PageType {
|
|||
|
||||
ColumnLayout {
|
||||
Layout.alignment: Qt.AlignBaseline
|
||||
Layout.preferredWidth: root.width / ( Qt.platform.os === "ios" ? 2 : 3 )
|
||||
Layout.preferredWidth: root.width / ( GC.isMobile() ? 2 : 3 )
|
||||
|
||||
ImageButtonType {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
@ -132,7 +132,7 @@ PageType {
|
|||
|
||||
ColumnLayout {
|
||||
Layout.alignment: Qt.AlignBaseline
|
||||
Layout.preferredWidth: root.width / ( Qt.platform.os === "ios" ? 2 : 3 )
|
||||
Layout.preferredWidth: root.width / ( GC.isMobile() ? 2 : 3 )
|
||||
|
||||
ImageButtonType {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue