Skip to content

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

Game page: the whole Advanced row toggles; no doubled sentence without a row

Gauthier Piarrette25aa37170cff
diff --git a/Sources/HighballApp/GameDetailView.swift b/Sources/HighballApp/GameDetailView.swift
index abc5c5a..2daf647 100644
--- a/Sources/HighballApp/GameDetailView.swift
+++ b/Sources/HighballApp/GameDetailView.swift
@@ -223,10 +223,16 @@ struct GameDetailView: View {
}
.padding(.top, 10)
} label: {
- HStack(spacing: 8) {
- Text(L("Advanced")).font(.callout.weight(.medium))
- Text(L("graphics mode · engine · environment · files")).font(.caption.monospaced()).foregroundStyle(.tertiary)
+ // The whole row toggles, not only the chevron.
+ Button { withAnimation(.easeInOut(duration: 0.15)) { showAdvanced.toggle() } } label: {
+ HStack(spacing: 8) {
+ Text(L("Advanced")).font(.callout.weight(.medium))
+ Text(L("graphics mode · engine · environment · files")).font(.caption.monospaced()).foregroundStyle(.tertiary)
+ Spacer(minLength: 0)
+ }
+ .contentShape(Rectangle())
}
+ .buttonStyle(.plain)
}
Divider()
VStack(alignment: .leading, spacing: 8) {
diff --git a/Sources/HighballKit/GamePageCopy.swift b/Sources/HighballKit/GamePageCopy.swift
index 8347992..f4cfc1d 100644
--- a/Sources/HighballKit/GamePageCopy.swift
+++ b/Sources/HighballKit/GamePageCopy.swift
@@ -14,7 +14,7 @@ public enum GamePageCopy {
let mine = shortChip(myChip)
guard let entry else {
return Verdict(headline: "Nobody has tested this on an \(mine) yet.",
- detail: "Play, and Highball will ask how it went when you finish.")
+ detail: "Nothing in the compatibility database for it yet. You would be the first to report it.")
}
switch entry.status {
case "blocked-anticheat":