trim colons at importing company fields

This commit is contained in:
tibbi 2018-08-02 16:28:08 +02:00
parent 7e10bbce6d
commit 473dcc946d

View file

@ -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(':')
}
}