COVIDSafe code from version 1.9 (#18)

This commit is contained in:
COVIDSafe Support 2020-08-03 16:01:39 +10:00 committed by GitHub
parent 2257c542ed
commit 3b1d8fa3f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
41 changed files with 4217 additions and 3998 deletions

View file

@ -12,6 +12,7 @@ class PhoneNumberViewController: UIViewController, UITextFieldDelegate, Registra
@IBOutlet weak var phoneExample: UILabel!
@IBOutlet weak var phoneError: UILabel!
@IBOutlet weak var phoneLabel: UILabel!
@IBOutlet weak var stepCounterLabel: UILabel!
var countryFlagContainerView: UIView!
var flagImageView: UIImageView!
@ -74,7 +75,12 @@ class PhoneNumberViewController: UIViewController, UITextFieldDelegate, Registra
initialLabelTextColour = phoneLabel.textColor
initialTextFieldBorderColour = phoneNumberField.borderColor
navigationController?.view.backgroundColor = UIColor.white
navigationController?.view.backgroundColor = UIColor.white
stepCounterLabel.text = String.localizedStringWithFormat( "stepCounter".localizedString(),
2,
UserDefaults.standard.bool(forKey: "allowedPermissions") ? 3 : 4
)
}
@IBAction func onBackTapped(_ sender: UIButton) {