From ee3b842abc6ca9c0470e2ddf5b08fe7f93bdee30 Mon Sep 17 00:00:00 2001 From: Guillaume BIENKOWSKI Date: Thu, 3 Jul 2014 15:47:10 +0200 Subject: [PATCH] Fix contact address label in contact details view for when it is unknown. --- Classes/ContactDetailsTableViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/ContactDetailsTableViewController.m b/Classes/ContactDetailsTableViewController.m index 51deecea9..2556f7dd7 100644 --- a/Classes/ContactDetailsTableViewController.m +++ b/Classes/ContactDetailsTableViewController.m @@ -533,7 +533,8 @@ static const ContactSections_e contactSections[ContactSections_MAX] = {ContactSe Entry *entry = [sectionDict objectAtIndex:[indexPath row]]; NSString *value = @""; - NSString *label = @""; + // default label is our app name + NSString *label = [ContactDetailsTableViewController localizeLabel:[labelArray objectAtIndex:0]]; if(contactSections[[indexPath section]] == ContactSections_Number) { ABMultiValueRef lMap = ABRecordCopyValue(contact, kABPersonPhoneProperty);