fix(@desktop/keycard): clicking `Get Keycard` button should direct to purchase page
Fixes: #7027
This commit is contained in:
parent
7e82b36509
commit
43011645f2
|
@ -20,7 +20,7 @@ SettingsContentBase {
|
||||||
titleRowComponentLoader.sourceComponent: StatusButton {
|
titleRowComponentLoader.sourceComponent: StatusButton {
|
||||||
text: qsTr("Get Keycard")
|
text: qsTr("Get Keycard")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
console.warn("TODO: Go to purchase page...")
|
Global.openLink(Constants.keycard.general.purchasePage)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -385,6 +385,7 @@ QtObject {
|
||||||
readonly property QtObject keycard: QtObject {
|
readonly property QtObject keycard: QtObject {
|
||||||
|
|
||||||
readonly property QtObject general: QtObject {
|
readonly property QtObject general: QtObject {
|
||||||
|
readonly property string purchasePage: "https://get.keycard.tech"
|
||||||
readonly property int onboardingHeight: 460
|
readonly property int onboardingHeight: 460
|
||||||
readonly property int loginHeight: 460
|
readonly property int loginHeight: 460
|
||||||
readonly property int imageWidth: 240
|
readonly property int imageWidth: 240
|
||||||
|
|
Loading…
Reference in New Issue