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

@ -88,7 +88,13 @@ class InitialScreenViewController: UIViewController, EncounterDBMigrationProgres
} else if !UserDefaults.standard.bool(forKey: "allowedPermissions") {
self.performSegue(withIdentifier: "initialScreenToAllowPermissionsSegue", sender: self)
} else {
self.performSegue(withIdentifier: "initialScreenToHomeSegue", 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)
}
}
}