diff --git a/src/components/contacts/screens/ViewMatches.tsx b/src/components/contacts/screens/ViewMatches.tsx index 763af7cc1f..d92cb88b1e 100644 --- a/src/components/contacts/screens/ViewMatches.tsx +++ b/src/components/contacts/screens/ViewMatches.tsx @@ -447,7 +447,7 @@ function MatchItem({ const contactName = useMemo(() => { if (!contact) return null - const name = contact.firstName ?? contact.lastName ?? contact.name + const name = contact.name ?? contact.firstName ?? contact.lastName if (name) return _(msg`Your contact ${name}`) const phone = contact.phoneNumbers?.find(p => p.isPrimary) ?? contact.phoneNumbers?.[0] @@ -518,7 +518,7 @@ function ContactItem({ const {_} = useLingui() const {currentAccount} = useSession() - const name = contact.firstName ?? contact.lastName ?? contact.name + const name = contact.name ?? contact.firstName ?? contact.lastName const phone = contact.phoneNumbers?.find(phone => phone.isPrimary) ?? contact.phoneNumbers?.[0]