SimpleMobileTools / Simple-Contacts

Easy and quick contact management with no ads, handles groups and favorites too.
https://www.simplemobiletools.com
GNU General Public License v3.0
804 stars 261 forks source link

Emailaddresses missing on contact card #1021

Closed FRvanderVeen closed 1 year ago

FRvanderVeen commented 1 year ago

I configured SimpleContacts to show the email fields. When I open my contacts I do not see an emailaddress, while I'm sure this contact has an emailaddress. This contact exists in multiple addressbooks (whatsapp, signal and one synced with davx5). When I click on the specific addressbook (which opens the edit screen) the emailaddresses show up. When I disable "merge duplicate contacts" and open the contact the addresses also show up.

tibbi commented 1 year ago

the contact is apparently stored multiple times and not all instances have an email

FRvanderVeen commented 1 year ago

That's true. But there is also only 1 instance of the contact that has a birthday and address filled. And these are shown. While email is not. That seems illogical to me.

I searched the code and in ViewContactActivity.kt I see something special is done for duplicates in setupXxxx. For instance phonenumbers and addresses. Why isn't this done for emailaddresses?