fix(AboutView): "Our principles" button not working

as a bonus, add the link to release notes as well

Fixes #8020
This commit is contained in:
Lukáš Tinkl 2022-10-24 17:43:43 +02:00 committed by Iuri Matias
parent 6d2a2e6e03
commit 70e9c89465
2 changed files with 3 additions and 3 deletions

View File

@ -225,7 +225,7 @@ StatusSectionLayout {
}
function getReleaseNotes() {
console.log("TODO: getReleaseNotes")
openLink("https://github.com/status-im/status-desktop/releases/%1".arg(getCurrentVersion()))
}
function openLink(url) {

View File

@ -75,11 +75,11 @@ SettingsContentBase {
implicitHeight: 64
components: [
StatusIcon {
icon: "chevron-down"
rotation: 270
icon: "next"
color: Theme.palette.baseColor1
}
]
onClicked: root.store.openLink("https://status.im/about/#our-principles")
}
Column {