fix #525, avoid importing empty emails

This commit is contained in:
tibbi 2020-07-08 11:02:14 +02:00
parent f7a82d0de7
commit 272ba65337
1 changed files with 3 additions and 1 deletions

View File

@ -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>()