adding in last name for easier understanding of the user
This commit is contained in:
@@ -55,7 +55,7 @@ class ContactsViewModel : ObservableObject {
|
||||
try store.enumerateContacts(with: fetchRequest) {(contact, stop) in
|
||||
// only checking if american number or not for now
|
||||
var cnPhoneNumber = contact.phoneNumbers.first?.value.stringValue
|
||||
let contactDisplayName = contact.givenName
|
||||
let contactDisplayName = contact.givenName + " " + contact.familyName
|
||||
// strip out nondigits
|
||||
// add or keep country code
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ struct FindFriendsView: View {
|
||||
|
||||
@State private var searchQuery: String = ""
|
||||
|
||||
|
||||
var body: some View {
|
||||
NavigationView {
|
||||
// TODO: add search bar + have secondary sort
|
||||
|
||||
Reference in New Issue
Block a user