mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-04-19 21:15:21 +00:00
COVIDSafe code from version 1.11 (#22)
This commit is contained in:
parent
746841a945
commit
a2b6a8bfb5
65 changed files with 6555 additions and 2216 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue