From 56ec2c5442931d7f74be3ba43ac99e9339f4ee4f Mon Sep 17 00:00:00 2001 From: Naveen Date: Thu, 1 Sep 2022 00:11:07 +0530 Subject: [PATCH] Also add additional (middle) names --- .../com/simplemobiletools/smsmessenger/helpers/VCardParser.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/VCardParser.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/VCardParser.kt index ffab98e8..3456c080 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/VCardParser.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/helpers/VCardParser.kt @@ -22,6 +22,7 @@ fun VCard?.parseNameFromVCard(): String? { val nameComponents = arrayListOf().apply { addAll(structured.prefixes) add(structured.given) + addAll(structured.additionalNames) add(structured.family) addAll(structured.suffixes) }