Skip to content

Commit

Permalink
fix: Link to support page instead of sending an email (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbmorley authored Oct 3, 2024
1 parent 2764091 commit 09d903c
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions Symbolic/Models/Legal.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,13 @@ import Foundation
import Diligence

struct Legal {

static let actions: [Action] = {
let title = "Symbolic Support (\(Bundle.main.version ?? "Unknown Version"))"
return [
Action("Website", url: URL(string: "https://symbolic.jbmorley.co.uk")!),
Action("Privacy", url: URL(string: "https://symbolic.jbmorley.co.uk/privacy-policy")!),
Action("GitHub", url: URL(string: "https://github.com/inseven/symbolic")!),
Action("Support", url: URL(address: "[email protected]", subject: title)!),
]
}()


static let contents = Contents(repository: "inseven/symbolic",
copyright: "Copyright © 2022-2024 Jason Morley") {
Self.actions
Action("Website", url: URL(string: "https://symbolic.jbmorley.co.uk")!)
Action("Privacy", url: URL(string: "https://symbolic.jbmorley.co.uk/privacy-policy")!)
Action("GitHub", url: URL(string: "https://github.com/inseven/symbolic")!)
Action("Support", url: URL(string: "https://symbolic.jbmorley.co.uk/support")!)
} acknowledgements: {
Acknowledgements("Developers") {
Credit("Jason Morley", url: URL(string: "https://jbmorley.co.uk/about"))
Expand Down

0 comments on commit 09d903c

Please sign in to comment.