fix #171, properly parse contact name from vcf if whole name is 1 field
This commit is contained in:
parent
b4c4691f1c
commit
722e66e1dc
|
@ -116,7 +116,11 @@ class VcfImporter(val activity: SimpleActivity) {
|
|||
if (!isGettingName && currentNameIsANSI && names.endsWith('=')) {
|
||||
isGettingName = true
|
||||
} else {
|
||||
parseNames()
|
||||
if (names.contains(";")) {
|
||||
parseNames()
|
||||
} else if (names.startsWith(":")) {
|
||||
curFirstName = names.substring(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue