mirror of
https://github.com/pawelorzech/MacTorn.git
synced 2026-01-29 19:54:27 +00:00
Improve refresh button hit area in StatusView
Added a fixed frame and content shape to the refresh button's image to make it easier to interact with. This enhances the usability of the refresh action in the StatusView.
This commit is contained in:
parent
b298404791
commit
1747bb110a
2 changed files with 2 additions and 0 deletions
BIN
MacTorn-v1.2.zip
BIN
MacTorn-v1.2.zip
Binary file not shown.
|
|
@ -84,6 +84,8 @@ struct StatusView: View {
|
|||
appState.refreshNow()
|
||||
} label: {
|
||||
Image(systemName: "arrow.clockwise")
|
||||
.frame(width: 20, height: 20)
|
||||
.contentShape(Rectangle())
|
||||
}
|
||||
.buttonStyle(.plain)
|
||||
.foregroundColor(.secondary)
|
||||
|
|
|
|||
Loading…
Reference in a new issue