Merge branch 'charlesmchen/generateAndDeleteRandomContacts'

This commit is contained in:
Matthew Chen 2017-05-19 18:09:27 -04:00
commit 25232596f6
2 changed files with 1182 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -344,8 +344,10 @@ class SystemContactsFetcher: NSObject {
return
}
hasSetupObservation = true
self.contactStoreAdapter.startObservingChanges {
self.updateContacts(completion: nil)
self.contactStoreAdapter.startObservingChanges { [weak self] in
DispatchQueue.main.async {
self?.updateContacts(completion: nil)
}
}
}