COVIDSafe code from version 1.13 (#25)

This commit is contained in:
COVIDSafe Support 2020-10-16 15:45:07 +11:00 committed by GitHub
parent a2b6a8bfb5
commit 3ea83834f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 970 additions and 576 deletions

View file

@ -88,12 +88,9 @@ class InitialScreenViewController: UIViewController, EncounterDBMigrationProgres
} else if !UserDefaults.standard.bool(forKey: "allowedPermissions") {
self.performSegue(withIdentifier: "initialScreenToAllowPermissionsSegue", sender: self)
} else {
DispatchQueue.main.async {
let homeVC = HomeViewController(nibName: "HomeView", bundle: nil)
homeVC.modalPresentationStyle = .overFullScreen
homeVC.modalTransitionStyle = .coverVertical
self.present(homeVC, animated: true, completion: nil)
self.navigationController?.setViewControllers([homeVC], animated: true)
}
}
}