Make 'add feed' main action on FeedListPage

This commit is contained in:
Tobias Fella 2020-05-30 23:36:48 +02:00
parent dc384c598e
commit a0b7e0d9e1

View File

@ -31,15 +31,13 @@ Kirigami.ScrollablePage {
property var lastFeed: "" property var lastFeed: ""
contextualActions: [ actions.main: Kirigami.Action {
Kirigami.Action {
text: i18n("Add feed") text: i18n("Add feed")
iconName: "list-add" iconName: "list-add"
onTriggered: { onTriggered: {
addSheet.open() addSheet.open()
} }
} }
]
Kirigami.OverlaySheet { Kirigami.OverlaySheet {
id: addSheet id: addSheet