Also add additional (middle) names
This commit is contained in:
parent
fa15614afc
commit
56ec2c5442
|
@ -22,6 +22,7 @@ fun VCard?.parseNameFromVCard(): String? {
|
||||||
val nameComponents = arrayListOf<String?>().apply {
|
val nameComponents = arrayListOf<String?>().apply {
|
||||||
addAll(structured.prefixes)
|
addAll(structured.prefixes)
|
||||||
add(structured.given)
|
add(structured.given)
|
||||||
|
addAll(structured.additionalNames)
|
||||||
add(structured.family)
|
add(structured.family)
|
||||||
addAll(structured.suffixes)
|
addAll(structured.suffixes)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue