mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 12:00:39 +01:00
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…
x
Reference in New Issue
Block a user