mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Add refresh buttons keyboard shortcuts
This commit is contained in:
@@ -122,6 +122,12 @@ struct TrendingView: View {
|
||||
.frame(minWidth: 400, minHeight: 400)
|
||||
#endif
|
||||
}
|
||||
.background(
|
||||
Button("Refresh") {
|
||||
resource.load()
|
||||
}
|
||||
.keyboardShortcut("r")
|
||||
)
|
||||
.navigationTitle("Trending")
|
||||
#endif
|
||||
#if os(iOS)
|
||||
|
Reference in New Issue
Block a user