From 3bb49e7d76b566ef51b2714cf2f3c74dea20fc9b Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Tue, 19 Feb 2019 13:41:28 -0500 Subject: [PATCH] Respond to CR. --- Signal/src/ViewControllers/HomeView/HomeViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/ViewControllers/HomeView/HomeViewController.m b/Signal/src/ViewControllers/HomeView/HomeViewController.m index ad56ac345..2f4feb057 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewController.m @@ -461,14 +461,14 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations formatString = NSLocalizedString(@"HOME_VIEW_FIRST_CONVERSATION_OFFER_3_CONTACTS_FORMAT", @"Format string for a label offering to start a new conversation with your contacts, if you have at least " @"3 Signal contacts. Embeds {{The names of 3 of your Signal contacts}}."); - } else if (signalAccounts.count >= 2) { + } else if (signalAccounts.count == 2) { [contactNames addObject:[self.contactsManager displayNameForSignalAccount:signalAccounts[0]]]; [contactNames addObject:[self.contactsManager displayNameForSignalAccount:signalAccounts[1]]]; formatString = NSLocalizedString(@"HOME_VIEW_FIRST_CONVERSATION_OFFER_2_CONTACTS_FORMAT", @"Format string for a label offering to start a new conversation with your contacts, if you have 2 Signal " @"contacts. Embeds {{The names of 2 of your Signal contacts}}."); - } else if (signalAccounts.count >= 3) { + } else if (signalAccounts.count == 1) { [contactNames addObject:[self.contactsManager displayNameForSignalAccount:signalAccounts[0]]]; formatString = NSLocalizedString(@"HOME_VIEW_FIRST_CONVERSATION_OFFER_1_CONTACT_FORMAT",