mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-04-29 18:05:17 +00:00
COVIDSafe code from version 1.13
This commit is contained in:
parent
a2b6a8bfb5
commit
2ac0a7e591
33 changed files with 970 additions and 576 deletions
|
@ -36,6 +36,11 @@ class OnboardingStep2bViewController: UIViewController {
|
|||
pointThreeText.addAttributes([.underlineStyle: NSUnderlineStyle.single.rawValue, .foregroundColor: UIColor.covidSafeColor], range: nsRange)
|
||||
pointThreeLabel.attributedText = pointThreeText
|
||||
}
|
||||
|
||||
guard let currentVersion = (Bundle.main.version as NSString?)?.integerValue else {
|
||||
return
|
||||
}
|
||||
UserDefaults.standard.set(currentVersion, forKey: "latestPolicyUpdateVersionShown")
|
||||
}
|
||||
|
||||
@IBAction func learnMoreTapped(_ sender: Any) {
|
||||
|
@ -49,8 +54,6 @@ class OnboardingStep2bViewController: UIViewController {
|
|||
|
||||
@IBAction func continueBtnTapped(_ sender: UIButton) {
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue