mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Ignore duplicated properties
This commit is contained in:
@@ -18,6 +18,7 @@ data class VCardWrapper(val vCard: VCard, var expanded: Boolean = false) {
|
|||||||
return vCard.properties
|
return vCard.properties
|
||||||
.filter { displayedPropertyClasses.contains(it::class.java) }
|
.filter { displayedPropertyClasses.contains(it::class.java) }
|
||||||
.map { VCardPropertyWrapper.from(context, it) }
|
.map { VCardPropertyWrapper.from(context, it) }
|
||||||
|
.distinctBy { it.value }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user