From: Olaf Wintermann Date: Sat, 4 Oct 2025 11:20:24 +0000 (+0200) Subject: change toolbar refresh button to only reload the current feed X-Git-Url: https://uap-core.de/gitweb/?a=commitdiff_plain;h=60c3b9b740c93be7d0ae060c044b9280ada86607;p=rssreader.git change toolbar refresh button to only reload the current feed --- diff --git a/rss-application/src/main/kotlin/de/unixwork/rssreader/App.kt b/rss-application/src/main/kotlin/de/unixwork/rssreader/App.kt index f0a0eb3..9b84c24 100644 --- a/rss-application/src/main/kotlin/de/unixwork/rssreader/App.kt +++ b/rss-application/src/main/kotlin/de/unixwork/rssreader/App.kt @@ -42,8 +42,8 @@ object App : Application { } fun initToolbar() { - toolbarItem(name = "reload", icon = "view-refresh") { event -> - syncAll() + toolbarItem(name = "reloadFeed", icon = "view-refresh") { event -> + syncCurrent() } toolbarAppMenu { @@ -84,7 +84,7 @@ object App : Application { } } - addToolbarDefault("reload", ToolbarPosition.LEFT) + addToolbarDefault("reloadFeed", ToolbarPosition.LEFT) } override fun startup() {