Add 'refresh all feeds' context action on desktop

This commit is contained in:
Tobias Fella 2020-05-31 18:47:04 +02:00
parent 47a5d7afec
commit f1c62f067f
1 changed files with 9 additions and 0 deletions

View File

@ -44,6 +44,15 @@ Kirigami.ScrollablePage {
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 {
text: i18n("Add feed")
iconName: "list-add"