mirror of
https://github.com/KDE/kasts.git
synced 2024-12-25 16:02:54 +01:00
Make 'add feed' main action on FeedListPage
This commit is contained in:
parent
dc384c598e
commit
a0b7e0d9e1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user