Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

fix: place Steam before Add games in toolbar

Matias G.288ffdbb1a61
diff --git a/Sources/HighballApp/HighballApp.swift b/Sources/HighballApp/HighballApp.swift
index 88a0dd5..dc7af86 100644
--- a/Sources/HighballApp/HighballApp.swift
+++ b/Sources/HighballApp/HighballApp.swift
@@ -326,16 +326,16 @@ struct ContentView: View {
.toolbar {
ToolbarItemGroup(placement: .primaryAction) {
if !showAddGames {
- Button { showAddGames = true } label: {
- Label(L("Add games"), systemImage: "plus")
- }
- .disabled(state.busy || state.bottles.isEmpty)
if let bottle = state.defaultSteamBottle {
Button("Steam") { state.showSteam(in: bottle) }
.disabled(state.busy)
.accessibilityLabel(L("Open Steam"))
.help(L("Open Steam"))
}
+ Button { showAddGames = true } label: {
+ Label(L("Add games"), systemImage: "plus")
+ }
+ .disabled(state.busy || state.bottles.isEmpty)
}
}
ToolbarItem(placement: .automatic) {