adding privacy policy links

This commit is contained in:
andy 2022-08-12 11:21:54 +01:00
parent eebc52751b
commit 845fea8f42
2 changed files with 14 additions and 0 deletions

View File

@ -183,6 +183,13 @@ struct LoginScreen: View {
}
.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){
ToastView(toastText)

View File

@ -26,6 +26,13 @@ struct SettingsList: View {
}) {
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: {
self.liveUser.logout()
}) {