From 8e8a5d331ebdb53df18f696765149e1473abe01e Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 19 Nov 2021 20:02:49 +0100 Subject: [PATCH] ignore the photos only at comparing private contacts --- .../com/simplemobiletools/contacts/pro/models/Contact.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/models/Contact.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/models/Contact.kt index 748e09c4..bf23b82f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/models/Contact.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/models/Contact.kt @@ -130,6 +130,7 @@ data class Contact( } fun getStringToCompare(): String { + val photoToUse = if (isPrivate()) null else photo return copy( id = 0, prefix = "", @@ -147,7 +148,7 @@ data class Contact( starred = 0, contactId = 0, thumbnailUri = "", - photo = null, + photo = photoToUse, notes = "", groups = ArrayList(), websites = ArrayList(),