From aabd56b23de38271dce2c7d012c8bccbadaf337c Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Wed, 10 May 2017 10:56:57 -0400 Subject: [PATCH] Clean up comments per CR // FREEBIE --- Signal/src/ViewControllers/ContactsViewHelper.h | 4 ++++ Signal/src/ViewControllers/ContactsViewHelper.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Signal/src/ViewControllers/ContactsViewHelper.h b/Signal/src/ViewControllers/ContactsViewHelper.h index bc9e1088d..79fc60bef 100644 --- a/Signal/src/ViewControllers/ContactsViewHelper.h +++ b/Signal/src/ViewControllers/ContactsViewHelper.h @@ -55,6 +55,10 @@ NS_ASSUME_NONNULL_BEGIN - (NSArray *)nonSignalContactsMatchingSearchString:(NSString *)searchText; +/** + * NOTE: This method calls `[UIUtil applyDefaultSystemAppearence]`. + * When using this method, you must call `[UIUtil applySignalAppearence]` once contact editing is finished; + */ - (void)presentContactViewControllerForRecipientId:(NSString *)recipientId fromViewController:(UIViewController *)fromViewController editImmediately:(BOOL)shouldEditImmediately; diff --git a/Signal/src/ViewControllers/ContactsViewHelper.m b/Signal/src/ViewControllers/ContactsViewHelper.m index 5990e1ae1..f65800c88 100644 --- a/Signal/src/ViewControllers/ContactsViewHelper.m +++ b/Signal/src/ViewControllers/ContactsViewHelper.m @@ -325,7 +325,7 @@ NS_ASSUME_NONNULL_BEGIN CNContact *_Nullable cnContact = signalAccount.contact.cnContact; if (cnContact) { if (shouldEditImmediately) { - // Not acutally a "new" contact, but this brings up the edit form rather than the "Read" form + // Not actually a "new" contact, but this brings up the edit form rather than the "Read" form // saving our users a tap in some cases when we already know they want to edit. contactViewController = [CNContactViewController viewControllerForNewContact:cnContact]; } else {