Add AboutPage

This commit is contained in:
Tobias Fella
2020-11-04 02:12:57 +00:00
parent 2d1a7d6500
commit f7a218d6a5
6 changed files with 65 additions and 2 deletions

View File

@@ -25,6 +25,25 @@ Kirigami.ApplicationWindow {
handleVisible: enabled && (pageStack.currentItem instanceof RoomPage)
}
globalDrawer: Kirigami.GlobalDrawer {
isMenu: true
actions: [
Kirigami.Action {
text: i18n("About Neochat")
iconName: "help-about"
onTriggered: pageStack.layers.push(aboutPage)
enabled: pageStack.layers.currentItem.title !== i18n("About")
}
]
}
Component {
id: aboutPage
Kirigami.AboutPage {
aboutData: Controller.aboutData
}
}
pageStack.initialPage: LoadingPage {}
Component {