mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 19:38:08 +00:00
Fixed contacts list not updated when side by side with contact editor fragment
This commit is contained in:
parent
3909d9991d
commit
110295a4c1
1 changed files with 1 additions and 4 deletions
|
|
@ -80,10 +80,7 @@ class ContactsListViewModel : ViewModel() {
|
|||
getSelectedContactsList()
|
||||
}
|
||||
|
||||
// Prevent blinking items when list hasn't changed
|
||||
if (list.isEmpty() || list.size != contactsList.value.orEmpty().size) {
|
||||
contactsList.postValue(list)
|
||||
}
|
||||
contactsList.postValue(list)
|
||||
}
|
||||
|
||||
fun deleteContact(contact: Contact?) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue