1
0
mirror of https://github.com/etesync/android synced 2024-12-23 15:18:14 +00:00

Contact import: fix accidental double-import.

This commit is contained in:
Tom Hacohen 2018-01-22 15:55:47 +00:00
parent 536bef9815
commit c93e21e2d3

View File

@ -165,7 +165,6 @@ public class LocalContactImportFragment extends Fragment {
int progress = 0;
for (LocalContact currentLocalContact : localContacts) {
Contact contact = currentLocalContact.getContact();
(new LocalContact(addressBook, contact, null, null)).createAsDirty();
try {
LocalContact localContact = new LocalContact(addressBook, contact, null, null);