Apply design changes from Myles.
This commit is contained in:
parent
4e07895853
commit
b0c4ad7f63
|
@ -736,7 +736,9 @@ class ContactViewController: OWSViewController, CNContactViewControllerDelegate
|
|||
owsFail("\(ContactViewController.logTag) could not open address.")
|
||||
return
|
||||
}
|
||||
guard let url = NSURL(string: "http://maps.apple.com/?address=\(escapedMapAddress)") else {
|
||||
// Note that we use "q" (i.e. query) rather than "address" since we can't assume
|
||||
// this is a well-formed address.
|
||||
guard let url = NSURL(string: "http://maps.apple.com/?q=\(escapedMapAddress)") else {
|
||||
owsFail("\(ContactViewController.logTag) could not open address.")
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue