diff --git a/submodules/ContactListUI/Sources/ContactsController.swift b/submodules/ContactListUI/Sources/ContactsController.swift index c24b039122..c79c7a5bb5 100644 --- a/submodules/ContactListUI/Sources/ContactsController.swift +++ b/submodules/ContactListUI/Sources/ContactsController.swift @@ -678,8 +678,6 @@ public class ContactsController: ViewController { return false } if value == .commit { - let presentationData = self.presentationData - let deleteContactsFromDevice: Signal if let contactDataManager = self.context.sharedContext.contactDataManager { deleteContactsFromDevice = combineLatest(peerIds.map { contactDataManager.deleteContactWithAppSpecificReference(peerId: $0) }