Fix updating contact informations

close #44
This commit is contained in:
Erwan Croze 2017-04-24 10:16:30 +02:00
parent 4c66361d77
commit b448dabaed

View file

@ -112,6 +112,7 @@ public class ContactDetailsFragment extends Fragment implements OnClickListener
TextView contactName = (TextView) view.findViewById(R.id.contact_name);
contactName.setText(contact.getFullName());
organization.setText((contact.getOrganization() != null) ? contact.getOrganization() : "");
TableLayout controls = (TableLayout) view.findViewById(R.id.controls);
controls.removeAllViews();