fix #525, avoid importing empty emails
This commit is contained in:
parent
f7a82d0de7
commit
272ba65337
|
@ -73,7 +73,9 @@ class VcfImporter(val activity: SimpleActivity) {
|
|||
""
|
||||
}
|
||||
|
||||
emails.add(Email(email, type, label))
|
||||
if (email.isNotEmpty()) {
|
||||
emails.add(Email(email, type, label))
|
||||
}
|
||||
}
|
||||
|
||||
val addresses = ArrayList<Address>()
|
||||
|
|
Loading…
Reference in New Issue