disambiguate contact param

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent d25a934039
commit 4338c59356

@ -65,7 +65,7 @@ typedef NS_ENUM(NSUInteger, OWSPhoneNumberType) {
andImage:(nullable UIImage *)image andImage:(nullable UIImage *)image
andContactID:(ABRecordID)record; andContactID:(ABRecordID)record;
- (instancetype)initWithContact:(CNContact *)contact; - (instancetype)initWithSystemContact:(CNContact *)contact;
- (OWSPhoneNumberType)phoneNumberTypeForPhoneNumber:(NSString *)recipientId; - (OWSPhoneNumberType)phoneNumberTypeForPhoneNumber:(NSString *)recipientId;

@ -54,7 +54,7 @@ NS_ASSUME_NONNULL_BEGIN
return self; return self;
} }
- (instancetype)initWithContact:(CNContact *)contact - (instancetype)initWithSystemContact:(CNContact *)contact
{ {
self = [super init]; self = [super init];
if (!self) { if (!self) {

Loading…
Cancel
Save