rename method to better reflect new role

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent 03727a27f6
commit 04878bf222

@ -227,7 +227,7 @@ NS_ASSUME_NONNULL_BEGIN
[self.navigationController.navigationBar setTranslucent:NO]; [self.navigationController.navigationBar setTranslucent:NO];
[self showNoContactsModeIfNecessary]; [self showContactAppropriateViews];
} }
#pragma mark - Table Contents #pragma mark - Table Contents
@ -439,7 +439,7 @@ NS_ASSUME_NONNULL_BEGIN
{ {
[[Environment preferences] setHasDeclinedNoContactsView:YES]; [[Environment preferences] setHasDeclinedNoContactsView:YES];
[self showNoContactsModeIfNecessary]; [self showContactAppropriateViews];
} }
- (void)presentInviteFlow - (void)presentInviteFlow
@ -450,7 +450,7 @@ NS_ASSUME_NONNULL_BEGIN
[self presentViewController:inviteFlow.actionSheetController animated:YES completion:nil]; [self presentViewController:inviteFlow.actionSheetController animated:YES completion:nil];
} }
- (void)showNoContactsModeIfNecessary - (void)showContactAppropriateViews
{ {
if (self.contactsViewHelper.contactsManager.isSystemContactsAuthorized) { if (self.contactsViewHelper.contactsManager.isSystemContactsAuthorized) {
BOOL hasNoContacts = self.contactsViewHelper.signalAccounts.count < 1; BOOL hasNoContacts = self.contactsViewHelper.signalAccounts.count < 1;
@ -621,7 +621,7 @@ NS_ASSUME_NONNULL_BEGIN
{ {
[self updateTableContents]; [self updateTableContents];
[self showNoContactsModeIfNecessary]; [self showContactAppropriateViews];
} }
- (BOOL)shouldHideLocalNumber - (BOOL)shouldHideLocalNumber

Loading…
Cancel
Save