mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
avoid unnecessary contact screen redrawing
This commit is contained in:
@ -196,11 +196,13 @@ class ViewContactActivity : ContactActivity() {
|
||||
runOnUiThread {
|
||||
setupContactDetails()
|
||||
getDuplicateContacts {
|
||||
if (duplicateContacts.isNotEmpty()) {
|
||||
setupContactDetails()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun setupContactDetails() {
|
||||
if (isFinishing || isDestroyed || contact == null) {
|
||||
|
Reference in New Issue
Block a user