avoid unnecessary contact screen redrawing
This commit is contained in:
parent
b888e24012
commit
b38e00c5b8
|
@ -196,11 +196,13 @@ class ViewContactActivity : ContactActivity() {
|
|||
runOnUiThread {
|
||||
setupContactDetails()
|
||||
getDuplicateContacts {
|
||||
if (duplicateContacts.isNotEmpty()) {
|
||||
setupContactDetails()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupContactDetails() {
|
||||
if (isFinishing || isDestroyed || contact == null) {
|
||||
|
|
Loading…
Reference in New Issue