Commit d83e3d68 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Show the appstream last release information on the ApplicationPage

BUG: 389482
parent 0eff11f8
......@@ -164,6 +164,27 @@ DiscoverPage {
}
}
Kirigami.Heading {
Layout.topMargin: Kirigami.Units.largeSpacing
text: i18n("Last Release")
level: 2
visible: changelogLabel.text.length > 0
}
QQC2.Label {
id: changelogLabel
Layout.topMargin: Kirigami.Units.largeSpacing
Layout.fillWidth: true
wrapMode: Text.WordWrap
Component.onCompleted: appInfo.application.fetchChangelog()
Connections {
target: appInfo.application
onChangelogFetched: parent.text = changelog
}
}
LinkButton {
id: addonsButton
text: i18n("Addons")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment