Fix About view padding

This commit is contained in:
Nindi Gill 2022-09-26 14:03:27 +10:00
parent d58bf5137a
commit 76bb62c2b6

View file

@ -16,7 +16,7 @@ struct SettingsAboutView: View {
Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "" Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? ""
} }
private let length: CGFloat = 128 private let length: CGFloat = 128
private let spacing: CGFloat = 5 private let spacing: CGFloat = 3
var body: some View { var body: some View {
VStack(alignment: .leading) { VStack(alignment: .leading) {
@ -28,8 +28,7 @@ struct SettingsAboutView: View {
Text("The macOS Installer Super Tool") Text("The macOS Installer Super Tool")
.font(.title3) .font(.title3)
HStack(spacing: spacing) { HStack(spacing: spacing) {
Text("Version: ") Text("Version: \(version)")
Text(version)
Text("(\(build))") Text("(\(build))")
.foregroundColor(.secondary) .foregroundColor(.secondary)
} }