mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-03 09:17:34 +01:00
trim colons at importing company fields
This commit is contained in:
parent
7e10bbce6d
commit
473dcc946d
@ -266,7 +266,7 @@ class VcfImporter(val activity: SimpleActivity) {
|
||||
curCompany = if (company.startsWith(";")) {
|
||||
company.substringAfter(":").trim(';')
|
||||
} else {
|
||||
company
|
||||
company.trimStart(':')
|
||||
}
|
||||
}
|
||||
|
||||
@ -274,7 +274,7 @@ class VcfImporter(val activity: SimpleActivity) {
|
||||
curJobPosition = if (jobPosition.startsWith(";")) {
|
||||
jobPosition.substringAfter(":")
|
||||
} else {
|
||||
jobPosition
|
||||
jobPosition.trimStart(':')
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user