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 {