chore: hide site links for ios

This commit is contained in:
vladimir.kuznetsov 2025-01-23 09:44:56 +07:00
parent 956dd6e37a
commit e6f4f5fe02

View file

@ -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())
} }