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: Read more opens when you click the words, not only the small arrow beside them. It was a DisclosureGroup with a plain text label, which macOS toggles from its chevron alone, so a player who clicked "Read more" saw nothing happen (Hayden on Discord, 2026-10-18). The label is now a button that toggles it, as Game settings on the same page already does. 564 tests pass on the M4; the app target builds.

Gauthier Piarrette2ad28dff93f8
diff --git a/Sources/HighballApp/GameDetailView.swift b/Sources/HighballApp/GameDetailView.swift
index cdf9029..769ff2b 100644
--- a/Sources/HighballApp/GameDetailView.swift
+++ b/Sources/HighballApp/GameDetailView.swift
@@ -156,10 +156,22 @@ struct GameDetailView: View {
.fixedSize(horizontal: false, vertical: true).textSelection(.enabled)
}
if !details.description.isEmpty, details.description != details.summary {
- DisclosureGroup(L("Read more"), isExpanded: $expandedDescription) {
+ DisclosureGroup(isExpanded: $expandedDescription) {
Text(verbatim: details.description).font(.body).foregroundStyle(.secondary)
.fixedSize(horizontal: false, vertical: true).textSelection(.enabled)
.frame(maxWidth: .infinity, alignment: .leading).padding(.top, 10)
+ } label: {
+ // The words open it too, not only the chevron: with a plain label macOS
+ // toggles a DisclosureGroup from its chevron alone, and players clicked
+ // "Read more" and saw nothing happen.
+ Button { withAnimation(reduceMotion ? nil : .easeInOut(duration: 0.15)) { expandedDescription.toggle() } } label: {
+ HStack(spacing: 8) {
+ Text(L("Read more"))
+ Spacer(minLength: 0)
+ }
+ .contentShape(Rectangle())
+ }
+ .buttonStyle(.plain)
}
}
if !details.genres.isEmpty {