show empty list placeholder at Group activity when appropriate

This commit is contained in:
tibbi 2018-11-06 21:48:05 +01:00
parent 1422ae1d9d
commit 9f01cb5389
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class GroupContactsActivity : SimpleActivity(), RemoveFromGroupListener, Refresh
override fun removeFromGroup(contacts: ArrayList<Contact>) {
Thread {
removeContactsFromGroup(contacts, group.id!!)
if (groupContacts.size == 0) {
if (groupContacts.size == contacts.size) {
refreshContacts()
}
}.start()