Respond to CR.

pull/1/head
Matthew Chen 7 years ago
parent 3092e4e3f6
commit 7f1cbd9277

@ -600,7 +600,7 @@ class ContactViewController: OWSViewController, CNContactViewControllerDelegate
} }
// Note that we use "q" (i.e. query) rather than "address" since we can't assume // Note that we use "q" (i.e. query) rather than "address" since we can't assume
// this is a well-formed address. // this is a well-formed address.
guard let url = NSURL(string: "http://maps.apple.com/?q=\(escapedMapAddress)") else { guard let url = URL(string: "http://maps.apple.com/?q=\(escapedMapAddress)") else {
owsFail("\(ContactViewController.logTag) could not open address.") owsFail("\(ContactViewController.logTag) could not open address.")
return return
} }

Loading…
Cancel
Save