From 5e6f5804c1ef2ba8c7ac39f6617a4aa805b95980 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 21 Aug 2017 17:50:40 -0400 Subject: [PATCH] Respond to CR. // FREEBIE --- .../ViewControllers/ConversationView/MessagesViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Signal/src/ViewControllers/ConversationView/MessagesViewController.m b/Signal/src/ViewControllers/ConversationView/MessagesViewController.m index 06bae65c3..e8051dfcd 100644 --- a/Signal/src/ViewControllers/ConversationView/MessagesViewController.m +++ b/Signal/src/ViewControllers/ConversationView/MessagesViewController.m @@ -884,7 +884,7 @@ typedef enum : NSUInteger { UIAlertController *alertController = [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet]; - UIAlertAction *leaveAction = [UIAlertAction + UIAlertAction *whitelistAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"CONVERSATION_SETTINGS_VIEW_SHARE_PROFILE", @"Button to confirm that user wants to share their profile with a user or group.") style:UIAlertActionStyleDestructive @@ -893,7 +893,7 @@ typedef enum : NSUInteger { [self ensureBannerState]; }]; - [alertController addAction:leaveAction]; + [alertController addAction:whitelistAction]; [alertController addAction:[OWSAlerts cancelAction]]; [self presentViewController:alertController animated:YES completion:nil];