diff --git a/Mixonomer/Views/LoginScreen.swift b/Mixonomer/Views/LoginScreen.swift index 44050bd..12c3ee7 100644 --- a/Mixonomer/Views/LoginScreen.swift +++ b/Mixonomer/Views/LoginScreen.swift @@ -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) diff --git a/Mixonomer/Views/Settings/SettingsList.swift b/Mixonomer/Views/Settings/SettingsList.swift index 92e65c3..94ffe26 100644 --- a/Mixonomer/Views/Settings/SettingsList.swift +++ b/Mixonomer/Views/Settings/SettingsList.swift @@ -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() }) {