From 41f4b0866c9d4dc413e294db35fa67e87cd02a12 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 7 May 2018 17:05:44 -0400 Subject: [PATCH] Respond to CR. --- .../attachments/ApproveContactShareViewController.swift | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SignalMessaging/attachments/ApproveContactShareViewController.swift b/SignalMessaging/attachments/ApproveContactShareViewController.swift index 236b5a608..2a014978b 100644 --- a/SignalMessaging/attachments/ApproveContactShareViewController.swift +++ b/SignalMessaging/attachments/ApproveContactShareViewController.swift @@ -171,9 +171,7 @@ class ContactShareFieldView: UIStackView { field.setIsIncluded(!field.isIncluded()) checkbox.isSelected = field.isIncluded() - if let delegate = delegate { - delegate.contactShareFieldViewDidChangeSelectedState() - } + delegate?.contactShareFieldViewDidChangeSelectedState() } }