From 0514c0d97da3b34b0151ffbe54195f7480191709 Mon Sep 17 00:00:00 2001 From: Jason Morley Date: Wed, 14 Feb 2024 16:18:54 -1000 Subject: [PATCH] fix: Update about screen links to reference the new website (#739) This change also includes a drive-by fix to add the version number to support email subjects. --- core/Sources/BookmarksCore/Common/Legal.swift | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/Sources/BookmarksCore/Common/Legal.swift b/core/Sources/BookmarksCore/Common/Legal.swift index f3b8a606..e097ee20 100644 --- a/core/Sources/BookmarksCore/Common/Legal.swift +++ b/core/Sources/BookmarksCore/Common/Legal.swift @@ -27,8 +27,14 @@ public struct Legal { public static let contents = Contents(repository: "inseven/bookmarks", copyright: "Copyright © 2020-2024 Jason Morley") { - Action("Support", url: URL(address: "support@jbmorley.co.uk", subject: "Bookmarks Support")!) + + let subject = "Bookmarks Support (\(Bundle.main.version ?? "Unknown Version"))" + + Action("Website", url: URL(string: "https://bookmarks.jbmorley.co.uk")!) + Action("Privacy Policy", url: URL(string: "https://bookmarks.jbmorley.co.uk/privacy-policy")!) Action("GitHub", url: URL(string: "https://github.com/inseven/bookmarks")!) + Action("Support", url: URL(address: "support@jbmorley.co.uk", subject: subject)!) + } acknowledgements: { Acknowledgements("Developers") { Credit("Jason Morley", url: URL(string: "https://jbmorley.co.uk"))