avoid unnecessary contact screen redrawing

This commit is contained in:
tibbi 2021-03-04 19:15:45 +01:00
parent b888e24012
commit b38e00c5b8

View File

@ -196,7 +196,9 @@ class ViewContactActivity : ContactActivity() {
runOnUiThread {
setupContactDetails()
getDuplicateContacts {
setupContactDetails()
if (duplicateContacts.isNotEmpty()) {
setupContactDetails()
}
}
}
}