COVIDSafe code from version 2.2

This commit is contained in:
covidsafe-support 2021-02-02 11:02:00 +11:00
parent 9e6e4604ef
commit 682e02ddc9
67 changed files with 3645 additions and 464 deletions

View file

@ -13,6 +13,7 @@ class RegistrationSuccessViewController: UIViewController {
@IBOutlet weak var pointTwoLabel: UILabel!
@IBOutlet weak var pointThreeLabel: UILabel!
@IBOutlet weak var titleLabel: UILabel!
@IBOutlet weak var pointFourTextView: UITextView!
var reauthenticating = false
@ -41,6 +42,8 @@ class RegistrationSuccessViewController: UIViewController {
pointThreeText.addAttributes([.underlineStyle: NSUnderlineStyle.single.rawValue, .foregroundColor: UIColor.covidSafeColor], range: nsRange)
pointThreeLabel.attributedText = pointThreeText
}
pointFourTextView.addLink("\(URLHelper.geLocationPermissionsURL())", enclosedIn: "*")
guard let currentVersion = (Bundle.main.version as NSString?)?.integerValue else {
return