feature: new mirrors support (#1519)

This commit is contained in:
Nethius 2025-04-08 12:07:31 +07:00 committed by GitHub
parent f283858490
commit 9d571a4c71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 14 deletions

View file

@ -252,7 +252,7 @@ PageType {
text: qsTr("Privacy Policy")
clickedFunc: function() {
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl() + "/policy")
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl("policy"))
}
}
}

View file

@ -175,7 +175,7 @@ PageType {
leftImageSource: "qrc:/images/controls/help-circle.svg"
onClicked: {
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl() + "/starter-guide")
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl("starter-guide"))
}
}
}