UI: unify refresh buttons

This commit is contained in:
Peter Steinberger
2025-12-09 17:54:12 +01:00
parent d9a132b649
commit 7017756140
4 changed files with 27 additions and 6 deletions

View File

@@ -271,8 +271,14 @@ struct OnboardingView: View {
}
HStack(spacing: 12) {
Button("Refresh status") { Task { await self.refreshPerms() } }
.controlSize(.small)
Button {
Task { await self.refreshPerms() }
} label: {
Label("Refresh", systemImage: "arrow.clockwise")
}
.buttonStyle(.bordered)
.controlSize(.small)
.help("Refresh status")
if self.isRequesting {
ProgressView()
.controlSize(.small)