From 1be85e9d368a76e52ee6f3455f6bab6a89653eb9 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 27 Mar 2024 09:56:56 -0700 Subject: [PATCH] macos: show build in about window --- macos/Sources/Features/About/About.xib | 4 ++-- macos/Sources/Features/About/AboutView.swift | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Features/About/About.xib b/macos/Sources/Features/About/About.xib index fe339493a..e884beff1 100644 --- a/macos/Sources/Features/About/About.xib +++ b/macos/Sources/Features/About/About.xib @@ -1,8 +1,8 @@ - + - + diff --git a/macos/Sources/Features/About/AboutView.swift b/macos/Sources/Features/About/AboutView.swift index 2cec3ab2e..1ce507de1 100644 --- a/macos/Sources/Features/About/AboutView.swift +++ b/macos/Sources/Features/About/AboutView.swift @@ -22,6 +22,12 @@ struct AboutView: View { .font(.body) .textSelection(.enabled) } + + if let build = self.build { + Text("Build: \(build)") + .font(.body) + .textSelection(.enabled) + } } .frame(minWidth: 300) .padding()