mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
fix #171, properly parse contact name from vcf if whole name is 1 field
This commit is contained in:
@ -116,7 +116,11 @@ class VcfImporter(val activity: SimpleActivity) {
|
|||||||
if (!isGettingName && currentNameIsANSI && names.endsWith('=')) {
|
if (!isGettingName && currentNameIsANSI && names.endsWith('=')) {
|
||||||
isGettingName = true
|
isGettingName = true
|
||||||
} else {
|
} else {
|
||||||
parseNames()
|
if (names.contains(";")) {
|
||||||
|
parseNames()
|
||||||
|
} else if (names.startsWith(":")) {
|
||||||
|
curFirstName = names.substring(1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user