Mercurial > public > simoleon
diff Simoleon/Settings.swift @ 41:7703c122ce96
Add Terms of Use link
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 25 Jul 2021 10:59:51 +0100 |
parents | 41a905e591e4 |
children | d25b02d439d4 |
line wrap: on
line diff
--- a/Simoleon/Settings.swift Sat Jul 24 23:57:07 2021 +0100 +++ b/Simoleon/Settings.swift Sun Jul 25 10:59:51 2021 +0100 @@ -86,6 +86,10 @@ Link(destination: URL(string: "https://dennistech.io")!) { Text("Privacy Policy", comment: "Button to go to app privacy policy") } + + Link(destination: URL(string: "https://dennistech.io/terms-of-use")!) { + Text("Terms of Use", comment: "Button to go to app terms of use") + } } } .onAppear(perform: onAppear) @@ -130,5 +134,6 @@ static var previews: some View { Settings() .environmentObject(SubscriptionController()) + .environment(\.locale, .init(identifier: "es")) } }