mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-03-30 19:10:09 +02:00
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…
x
Reference in New Issue
Block a user