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