Skip to content
Snippets Groups Projects
Commit d0d330f9 authored by Oliver Wiese's avatar Oliver Wiese
Browse files

fix crash when composing a mail

parent 02a3797f
No related branches found
No related tags found
No related merge requests found
......@@ -180,6 +180,9 @@ class AddressHandler {
break
}
var insertedEntry = false
if con.addressNames.isEmpty {
continue
}
var address = con.addresses.first!
if let a = con.ezContact.getMailAddresses().first {
address = a
......
......@@ -61,7 +61,6 @@ class ContactViewController: UIViewController {
} else {
self.title = con.name
}
// self.title = CNContactFormatter.stringFromContact(con.ezContact.cnContact, style: .FullName)
prepareContactSheet()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment