mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-05-03 20:05:17 +00:00
COVIDSafe code from version 1.11 (#22)
This commit is contained in:
parent
746841a945
commit
a2b6a8bfb5
65 changed files with 6555 additions and 2216 deletions
CovidSafe
|
@ -273,7 +273,7 @@ class PersonalDetailsViewController: UIViewController, UITextFieldDelegate, UIPi
|
|||
hasError = true
|
||||
fullNameErrorLabel.text = "personal_details_name_error_prompt".localizedString()
|
||||
}
|
||||
else if textField.text?.range(of: #"^[A-Za-z0-9\x{00C0}-\x{017F}][A-Za-z'0-9\-\x{00C0}-\x{017F} ]{0,80}$"#, options: .regularExpression) == nil {
|
||||
else if textField.text?.range(of: #"^[A-Za-z0-9\x{00C0}-\x{017F}][A-Za-z'0-9\-\.\x{00C0}-\x{017F} ]{0,80}$"#, options: .regularExpression) == nil {
|
||||
hasError = true
|
||||
fullNameErrorLabel.text = "personal_details_name_characters_prompt".localizedString()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue