mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-04-19 21:15:21 +00:00
COVIDSafe code from version 1.14 (#27)
This commit is contained in:
parent
3ea83834f5
commit
cf93ea43c0
29 changed files with 370 additions and 141 deletions
|
@ -72,17 +72,15 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
|
|||
@objc
|
||||
func jwtExpired(_ notification: Notification) {
|
||||
DispatchQueue.main.async {
|
||||
guard let regVC = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "onboardingStep3") as? PhoneNumberViewController else {
|
||||
guard let regVC = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "personalDetails") as? PersonalDetailsViewController else {
|
||||
return
|
||||
}
|
||||
regVC.reauthenticating = true
|
||||
regVC.modalPresentationStyle = .overFullScreen
|
||||
regVC.modalTransitionStyle = .coverVertical
|
||||
let navigationController = UINavigationController(rootViewController: regVC)
|
||||
navigationController.setToolbarHidden(true, animated: false)
|
||||
if #available(iOS 13.0, *) {
|
||||
navigationController.isModalInPresentation = true
|
||||
}
|
||||
navigationController.isNavigationBarHidden = true
|
||||
navigationController.modalPresentationStyle = .overFullScreen
|
||||
navigationController.modalTransitionStyle = .coverVertical
|
||||
self.window?.topmostPresentedViewController?.present(navigationController, animated: true, completion: nil)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue