[CNContact] fix updateFriend method

This commit is contained in:
Brieuc Viel 2017-11-16 16:18:05 +01:00
parent 98446e0985
commit 90f100a4cc

View file

@ -406,11 +406,11 @@
@try {
NSLog(@"Success %d",
[store executeSaveRequest:saveRequest error:&saveError]);
[self updateFriend:contact];
} @catch (NSException *exception) {
NSLog(@"=====>>>>> CNContact SaveRequest failed : description = %@",
[exception description]);
[self updateFriend:contact];
return FALSE;
return FALSE;
}
[self reloadAllContacts];
return TRUE;