adding in last name for easier understanding of the user

This commit is contained in:
talksik
2021-12-20 16:52:07 -08:00
parent 5400ea8d97
commit f7b8126a26
2 changed files with 1 additions and 2 deletions
@@ -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