COVIDSafe code from version 1.11 (#22)

This commit is contained in:
COVIDSafe Support 2020-09-14 11:23:11 +10:00 committed by GitHub
parent 746841a945
commit a2b6a8bfb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 6555 additions and 2216 deletions

View file

@ -271,7 +271,12 @@ class OTPViewController: UIViewController, RegistrationHandler {
if !UserDefaults.standard.bool(forKey: "allowedPermissions") {
viewController.performSegue(withIdentifier: "showAllowPermissionsFromOTPSegue", sender: self)
} else {
self.performSegue(withIdentifier: "OTPToHomeSegue", sender: self)
DispatchQueue.main.async {
let homeVC = HomeViewController(nibName: "HomeView", bundle: nil)
homeVC.modalPresentationStyle = .overFullScreen
homeVC.modalTransitionStyle = .coverVertical
self.present(homeVC, animated: true, completion: nil)
}
}
}
}