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 { |             runOnUiThread { | ||||||
|                 setupContactDetails() |                 setupContactDetails() | ||||||
|                 getDuplicateContacts { |                 getDuplicateContacts { | ||||||
|  |                     if (duplicateContacts.isNotEmpty()) { | ||||||
|                         setupContactDetails() |                         setupContactDetails() | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |     } | ||||||
|  |  | ||||||
|     private fun setupContactDetails() { |     private fun setupContactDetails() { | ||||||
|         if (isFinishing || isDestroyed || contact == null) { |         if (isFinishing || isDestroyed || contact == null) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user