Also add additional (middle) names

This commit is contained in:
Naveen 2022-09-01 00:11:07 +05:30
parent fa15614afc
commit 56ec2c5442
1 changed files with 1 additions and 0 deletions

View File

@ -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)
} }