Show Website on profiles

Changelog-Added: Show website on profiles
This commit is contained in:
William Casarin
2023-01-22 10:25:12 -08:00
parent f5e03f145c
commit acdee6a326
4 changed files with 53 additions and 2 deletions

View File

@@ -53,6 +53,10 @@ struct Profile: Codable {
set(s) { value["website"] = s }
}
var website_url: URL? {
return self.website.flatMap { URL(string: $0) }
}
var lud06: String? {
get { return value["lud06"]; }
set(s) { value["lud06"] = s }