chore: hide site links for ios (#1374)
This commit is contained in:
parent
49a6a9ed76
commit
6425700d1c
1 changed files with 3 additions and 1 deletions
|
@ -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())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue