Skip to content

Commit c084e03

Browse files
author
Dave Lomber
committed
added 'displayName' field
1 parent 68c3ba2 commit c084e03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/com/rt2zz/reactnativecontacts/ContactsProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,7 @@ public WritableMap toMap() {
447447
contact.putString("recordID", contactId);
448448
contact.putString("rawContactId", rawContactId);
449449
contact.putString("givenName", TextUtils.isEmpty(givenName) ? displayName : givenName);
450+
contact.putString("displayName", displayName);
450451
contact.putString("middleName", middleName);
451452
contact.putString("familyName", familyName);
452453
contact.putString("prefix", prefix);

0 commit comments

Comments
 (0)