adding privacy policy links
This commit is contained in:
parent
eebc52751b
commit
845fea8f42
@ -183,6 +183,13 @@ struct LoginScreen: View {
|
|||||||
}
|
}
|
||||||
.buttonStyle(.bordered)
|
.buttonStyle(.bordered)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Button(action: {
|
||||||
|
UIApplication.shared.open(URL(string: "https://mixonomer.sarsoo.xyz/privacy")!)
|
||||||
|
}) {
|
||||||
|
Text("Privacy Policy")
|
||||||
|
}
|
||||||
|
.padding(.top, 20)
|
||||||
}
|
}
|
||||||
.toast(isPresented: $showingToast, dismissAfter: 3.0){
|
.toast(isPresented: $showingToast, dismissAfter: 3.0){
|
||||||
ToastView(toastText)
|
ToastView(toastText)
|
||||||
|
@ -26,6 +26,13 @@ struct SettingsList: View {
|
|||||||
}) {
|
}) {
|
||||||
Text("Launch Web Version")
|
Text("Launch Web Version")
|
||||||
}
|
}
|
||||||
|
Button(action: {
|
||||||
|
if let url = URL(string: "https://mixonomer.sarsoo.xyz/privacy") {
|
||||||
|
UIApplication.shared.open(url)
|
||||||
|
}
|
||||||
|
}) {
|
||||||
|
Text("Privacy Policy")
|
||||||
|
}
|
||||||
Button(action: {
|
Button(action: {
|
||||||
self.liveUser.logout()
|
self.liveUser.logout()
|
||||||
}) {
|
}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user