Fixed issue with contacts visible and label no contact found also visible
This commit is contained in:
parent
39bd99c8ca
commit
dff64293ea
1 changed files with 6 additions and 0 deletions
|
@ -354,8 +354,14 @@ public class ContactsListFragment extends Fragment implements OnItemClickListene
|
|||
if (mContactAdapter != null) {
|
||||
mContactAdapter.updateDataSet(onlyDisplayLinphoneContacts ? ContactsManager.getInstance().getSIPContacts() : ContactsManager.getInstance().getContacts());
|
||||
mContactAdapter.notifyDataSetChanged();
|
||||
|
||||
if (mContactAdapter.getItemCount() > 0) {
|
||||
noContact.setVisibility(View.GONE);
|
||||
noSipContact.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
contactsFetchInProgress.setVisibility(View.GONE);
|
||||
|
||||
}
|
||||
|
||||
public void invalidate() {
|
||||
|
|
Loading…
Reference in a new issue