mirror of https://github.com/KDE/kasts.git
Add 'refresh all feeds' context action on desktop
This commit is contained in:
parent
47a5d7afec
commit
f1c62f067f
|
@ -44,6 +44,15 @@ Kirigami.ScrollablePage {
|
||||||
onTriggered: refreshing = false
|
onTriggered: refreshing = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
contextualActions: [
|
||||||
|
Kirigami.Action {
|
||||||
|
text: i18n("Refresh all feeds")
|
||||||
|
iconName: "view-refresh"
|
||||||
|
onTriggered: Fetcher.fetchAll()
|
||||||
|
visible: !Kirigami.Settings.isMobile
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
actions.main: Kirigami.Action {
|
actions.main: Kirigami.Action {
|
||||||
text: i18n("Add feed")
|
text: i18n("Add feed")
|
||||||
iconName: "list-add"
|
iconName: "list-add"
|
||||||
|
|
Loading…
Reference in New Issue