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

@@ -41,7 +41,13 @@ struct InstancesSettings: View {
if self.store.isLoading {
ProgressView()
} else {
Button("Refresh") { Task { await self.store.refresh() } }
Button {
Task { await self.store.refresh() }
} label: {
Label("Refresh", systemImage: "arrow.clockwise")
}
.buttonStyle(.bordered)
.help("Refresh")
}
}
}