mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
ignore the photos only at comparing private contacts
This commit is contained in:
parent
1ec064ef87
commit
8e8a5d331e
@ -130,6 +130,7 @@ data class Contact(
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun getStringToCompare(): String {
|
fun getStringToCompare(): String {
|
||||||
|
val photoToUse = if (isPrivate()) null else photo
|
||||||
return copy(
|
return copy(
|
||||||
id = 0,
|
id = 0,
|
||||||
prefix = "",
|
prefix = "",
|
||||||
@ -147,7 +148,7 @@ data class Contact(
|
|||||||
starred = 0,
|
starred = 0,
|
||||||
contactId = 0,
|
contactId = 0,
|
||||||
thumbnailUri = "",
|
thumbnailUri = "",
|
||||||
photo = null,
|
photo = photoToUse,
|
||||||
notes = "",
|
notes = "",
|
||||||
groups = ArrayList(),
|
groups = ArrayList(),
|
||||||
websites = ArrayList(),
|
websites = ArrayList(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user