Fix display of organization field when reusing view

This commit is contained in:
Sylvain Berfini 2016-07-25 16:24:54 +02:00
parent 822478f457
commit bb74f21dfb

View file

@ -504,6 +504,7 @@ public class ContactsListFragment extends Fragment implements OnClickListener, O
String org = contact.getOrganization();
if (org != null && !org.isEmpty()) {
organization.setText(org);
organization.setVisibility(View.VISIBLE);
} else {
organization.setVisibility(View.GONE);
}