Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 584ddab0b9
commit 5e6f5804c1

@ -884,7 +884,7 @@ typedef enum : NSUInteger {
UIAlertController *alertController = UIAlertController *alertController =
[UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet]; [UIAlertController alertControllerWithTitle:nil message:nil preferredStyle:UIAlertControllerStyleActionSheet];
UIAlertAction *leaveAction = [UIAlertAction UIAlertAction *whitelistAction = [UIAlertAction
actionWithTitle:NSLocalizedString(@"CONVERSATION_SETTINGS_VIEW_SHARE_PROFILE", actionWithTitle:NSLocalizedString(@"CONVERSATION_SETTINGS_VIEW_SHARE_PROFILE",
@"Button to confirm that user wants to share their profile with a user or group.") @"Button to confirm that user wants to share their profile with a user or group.")
style:UIAlertActionStyleDestructive style:UIAlertActionStyleDestructive
@ -893,7 +893,7 @@ typedef enum : NSUInteger {
[self ensureBannerState]; [self ensureBannerState];
}]; }];
[alertController addAction:leaveAction]; [alertController addAction:whitelistAction];
[alertController addAction:[OWSAlerts cancelAction]]; [alertController addAction:[OWSAlerts cancelAction]];
[self presentViewController:alertController animated:YES completion:nil]; [self presentViewController:alertController animated:YES completion:nil];

Loading…
Cancel
Save