Fixed avatar for manually entered addresses in smart address book

This commit is contained in:
Sylvain Berfini 2018-11-26 14:58:40 +01:00
parent a895fde7eb
commit 75a4e113d1

View file

@ -145,6 +145,9 @@ public class SearchContactsListAdapter extends RecyclerView.Adapter<SearchContac
} }
if (c != null) { if (c != null) {
if (c.getFullName() == null && c.getFirstName() == null && c.getLastName() == null) {
c.setFullName(holder.name.getText().toString());
}
ContactAvatar.displayAvatar(c, holder.avatarLayout); ContactAvatar.displayAvatar(c, holder.avatarLayout);
//TODO get if contact has security capabilities //TODO get if contact has security capabilities
} else { } else {