]> git.r.bdr.sh - rbdr/captura/blobdiff - Captura/Presentation/Settings/AboutSettings.swift
Use tinted PDF for Icon
[rbdr/captura] / Captura / Presentation / Settings / AboutSettings.swift
index 089ae1d0213156623514a634a567a5cc7e791d71..529907c1e0aa75e2f297f5b4de1590071f309a8c 100644 (file)
 import SwiftUI
 
 struct AboutSettings: View {
 import SwiftUI
 
 struct AboutSettings: View {
-  
+
   var appVersion: String {
   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 {
 
   var body: some View {
     Form {
-      VStack (alignment: .center) {
+      VStack(alignment: .center) {
         Text("Captura").bold()
         Text(appVersion).foregroundStyle(.secondary)
         Spacer()
         Text("Captura").bold()
         Text(appVersion).foregroundStyle(.secondary)
         Spacer()