mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
chore: hide site links for ios (#1374)
This commit is contained in:
@@ -217,6 +217,8 @@ PageType {
|
|||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
implicitHeight: 32
|
implicitHeight: 32
|
||||||
|
|
||||||
|
visible: Qt.platform.os !== "ios"
|
||||||
|
|
||||||
defaultColor: AmneziaStyle.color.transparent
|
defaultColor: AmneziaStyle.color.transparent
|
||||||
hoveredColor: AmneziaStyle.color.translucentWhite
|
hoveredColor: AmneziaStyle.color.translucentWhite
|
||||||
pressedColor: AmneziaStyle.color.sheerWhite
|
pressedColor: AmneziaStyle.color.sheerWhite
|
||||||
@@ -330,7 +332,7 @@ PageType {
|
|||||||
property string title: qsTr("I have nothing")
|
property string title: qsTr("I have nothing")
|
||||||
property string description: qsTr("")
|
property string description: qsTr("")
|
||||||
property string imageSource: "qrc:/images/controls/help-circle.svg"
|
property string imageSource: "qrc:/images/controls/help-circle.svg"
|
||||||
property bool isVisible: PageController.isStartPageVisible()
|
property bool isVisible: PageController.isStartPageVisible() && Qt.platform.os !== "ios"
|
||||||
property var handler: function() {
|
property var handler: function() {
|
||||||
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl())
|
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user