mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-26 07:18:41 +02:00
make sure we trim the colon from url at importing contacts
This commit is contained in:
parent
197670b486
commit
991e4d1e75
@ -282,7 +282,7 @@ class VcfImporter(val activity: SimpleActivity) {
|
|||||||
if (website.startsWith(";")) {
|
if (website.startsWith(";")) {
|
||||||
curWebsites.add(website.substringAfter(":"))
|
curWebsites.add(website.substringAfter(":"))
|
||||||
} else {
|
} else {
|
||||||
curWebsites.add(website)
|
curWebsites.add(website.trimStart(':'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user