feat(macos): unify About links with iOS/Android (Website, Docs, GitHub, Discord)

This commit is contained in:
Peter Steinberger
2026-07-07 02:20:00 -07:00
parent da1b0fa2a8
commit 6e7ef631d2
2 changed files with 29 additions and 23 deletions
+19 -19
View File
@@ -14835,15 +14835,7 @@
},
{
"kind": "ui-named-argument",
"line": 57,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "GitHub",
"surface": "apple",
"id": "native.apple.953dd3deb91be186"
},
{
"kind": "ui-named-argument",
"line": 59,
"line": 56,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Website",
"surface": "apple",
@@ -14851,23 +14843,31 @@
},
{
"kind": "ui-named-argument",
"line": 60,
"line": 57,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Twitter",
"source": "Docs",
"surface": "apple",
"id": "native.apple.6630b4b90765bc97"
"id": "native.apple.a6ce39368a3dcba9"
},
{
"kind": "ui-named-argument",
"line": 61,
"line": 60,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Email",
"source": "GitHub",
"surface": "apple",
"id": "native.apple.f8b7aeee98661fef"
"id": "native.apple.953dd3deb91be186"
},
{
"kind": "ui-named-argument",
"line": 64,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Discord",
"surface": "apple",
"id": "native.apple.3f2971f0141e1cf6"
},
{
"kind": "ui-call",
"line": 73,
"line": 77,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Check for updates automatically",
"surface": "apple",
@@ -14875,7 +14875,7 @@
},
{
"kind": "ui-call",
"line": 77,
"line": 81,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Check for Updates…",
"surface": "apple",
@@ -14883,7 +14883,7 @@
},
{
"kind": "ui-call",
"line": 80,
"line": 84,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "Updates unavailable in this build.",
"surface": "apple",
@@ -14891,7 +14891,7 @@
},
{
"kind": "ui-call",
"line": 86,
"line": 90,
"path": "apps/macos/Sources/OpenClaw/AboutSettings.swift",
"source": "© 2026 OpenClaw Foundation — MIT License.",
"surface": "apple",
@@ -51,14 +51,18 @@ struct AboutSettings: View {
.padding(.horizontal, 18)
}
// Unified first-party link set shared with the iOS and Android About screens.
VStack(alignment: .center, spacing: 6) {
AboutLinkRow(icon: "globe", title: "Website", url: "https://openclaw.ai")
AboutLinkRow(icon: "book", title: "Docs", url: "https://docs.openclaw.ai")
AboutLinkRow(
icon: "chevron.left.slash.chevron.right",
title: "GitHub",
url: "https://github.com/openclaw/openclaw")
AboutLinkRow(icon: "globe", title: "Website", url: "https://openclaw.ai")
AboutLinkRow(icon: "bird", title: "Twitter", url: "https://twitter.com/steipete")
AboutLinkRow(icon: "envelope", title: "Email", url: "mailto:peter@steipete.me")
AboutLinkRow(
icon: "bubble.left.and.bubble.right",
title: "Discord",
url: "https://discord.gg/clawd")
}
.frame(maxWidth: .infinity)
.multilineTextAlignment(.center)
@@ -161,7 +165,9 @@ private struct AboutLinkRow: View {
var body: some View {
Button {
if let url = URL(string: url) { NSWorkspace.shared.open(url) }
if let url = URL(string: url) {
NSWorkspace.shared.open(url)
}
} label: {
HStack(spacing: 6) {
Image(systemName: self.icon)