COVIDSafe code from version 2.5 (#50)

This commit is contained in:
COVIDSafe Support 2021-04-11 20:44:31 -07:00 committed by GitHub
parent 1478088e19
commit 195798ddd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 327 additions and 28 deletions

View file

@ -586,6 +586,15 @@ class HomeViewController: UIViewController, HomeDelegate {
present(navigationController, animated: true, completion: nil)
}
@IBAction func privacyPolicyTapped(_ sender: Any) {
guard let url = URL(string: URLHelper.getPrivacyPolicyURL()) else {
return
}
let safariVC = SFSafariViewController(url: url)
present(safariVC, animated: true, completion: nil)
}
@objc
func appWillResignActive(_ notification: Notification) {
self.lottieBluetoothView?.stop()