ignore the photos only at comparing private contacts
This commit is contained in:
parent
1ec064ef87
commit
8e8a5d331e
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue