mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
fix #525, avoid importing empty emails
This commit is contained in:
@ -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>()
|
||||
|
Reference in New Issue
Block a user