Skip to content

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

ui: sidebar engine label

Gauthier Piarrette07e2c7ce43ad
diff --git a/Sources/HighballApp/HighballApp.swift b/Sources/HighballApp/HighballApp.swift
index 59e0f8f..fa62089 100644
--- a/Sources/HighballApp/HighballApp.swift
+++ b/Sources/HighballApp/HighballApp.swift
@@ -90,11 +90,12 @@ struct ContentView: View {
}
if let engine = state.engines.first {
Section(L("Engine")) {
- VStack(alignment: .leading, spacing: 2) {
- Text(engine.id).font(.caption).lineLimit(1)
- Text((try? engine.wineVersion()) ?? "")
- .font(.caption2).foregroundStyle(.secondary)
- }
+ Label {
+ VStack(alignment: .leading, spacing: 1) {
+ Text(engine.displayName).font(.caption)
+ Text(engine.id).font(.caption2).foregroundStyle(.tertiary).lineLimit(1)
+ }
+ } icon: { Image(systemName: "gearshape.2").foregroundStyle(.secondary) }
}
}
}