X-Git-Url: https://git.r.bdr.sh/rbdr/captura/blobdiff_plain/5802c153cae64142d84e3cd5f762939501ee7e53..47eb1128eb930279d0fcf2e836d78372ac7ef5c3:/Captura/Presentation/Settings/AboutSettings.swift?ds=sidebyside diff --git a/Captura/Presentation/Settings/AboutSettings.swift b/Captura/Presentation/Settings/AboutSettings.swift index 089ae1d..529907c 100644 --- a/Captura/Presentation/Settings/AboutSettings.swift +++ b/Captura/Presentation/Settings/AboutSettings.swift @@ -17,18 +17,22 @@ import SwiftUI struct AboutSettings: View { - + var appVersion: String { - let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown" - let build = Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "Unknown" - return "Version \(version) (\(build))" + let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "Unknown" + let build = Bundle.main.infoDictionary?["CFBundleVersion"] as? String ?? "Unknown" + return "Version \(version) (\(build))" } - - var imprint = (try? AttributedString(markdown: "Captura is open source. Help and more information available at [captura.tranquil.systems](https://captura.tranquil.systems)")) ?? "" + + var imprint = + (try? AttributedString( + markdown: + "Captura is open source. Help and more information available at [captura.tranquil.systems](https://captura.tranquil.systems)" + )) ?? "" var body: some View { Form { - VStack (alignment: .center) { + VStack(alignment: .center) { Text("Captura").bold() Text(appVersion).foregroundStyle(.secondary) Spacer()