Skip to content

Commit

Permalink
chore: hide site links for ios
Browse files Browse the repository at this point in the history
  • Loading branch information
Nethius committed Jan 23, 2025
1 parent 956dd6e commit e6f4f5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/ui/qml/Pages2/PageSetupWizardConfigSource.qml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ PageType {
Layout.alignment: Qt.AlignHCenter
implicitHeight: 32

visible: Qt.platform.os !== "ios"

defaultColor: AmneziaStyle.color.transparent
hoveredColor: AmneziaStyle.color.translucentWhite
pressedColor: AmneziaStyle.color.sheerWhite
Expand Down Expand Up @@ -330,7 +332,7 @@ PageType {
property string title: qsTr("I have nothing")
property string description: qsTr("")
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() {
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl())
}
Expand Down

0 comments on commit e6f4f5f

Please sign in to comment.