sort contacts directly after fetching, while still on a background thread

This commit is contained in:
tibbi
2018-11-19 22:58:30 +01:00
parent b6ef90272a
commit 5c78872c4e
6 changed files with 5 additions and 25 deletions

View File

@ -86,11 +86,6 @@ class GroupContactsActivity : SimpleActivity(), RemoveFromGroupListener, Refresh
group_contacts_placeholder_2.beVisibleIf(groupContacts.isEmpty())
group_contacts_placeholder.beVisibleIf(groupContacts.isEmpty())
group_contacts_list.beVisibleIf(groupContacts.isNotEmpty())
Contact.sorting = config.sorting
Contact.startWithSurname = config.startNameWithSurname
groupContacts.sort()
updateContacts(groupContacts)
}
}