COVIDSafe code from version 1.6 (#6)

This commit is contained in:
COVIDSafe Support 2020-06-19 17:43:33 +10:00 committed by GitHub
parent 149daee2e9
commit 2063cea613
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 1963 additions and 1664 deletions

View file

@ -22,9 +22,7 @@ extension UIAlertAction {
// MARK: UIAlertController cancel extension
extension UIAlertController {
func addCancelAction() {
let cancelActionTitle = NSLocalizedString("global_cancel_button_title",
tableName: "Feedback",
bundle: Bundle.main,
let cancelActionTitle = "global_cancel_button_title".localizedString(
comment: "Cancel button title"
)
let cancelAction = UIAlertAction(title: cancelActionTitle, style: .cancel, handler: nil)