|
|
@ -619,10 +619,12 @@ typedef enum : NSUInteger {
|
|
|
|
[self.collectionView autoPinEdgeToSuperviewSafeArea:ALEdgeTrailing];
|
|
|
|
[self.collectionView autoPinEdgeToSuperviewSafeArea:ALEdgeTrailing];
|
|
|
|
|
|
|
|
|
|
|
|
[self.collectionView applyScrollViewInsetsFix];
|
|
|
|
[self.collectionView applyScrollViewInsetsFix];
|
|
|
|
|
|
|
|
SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(self, _collectionView);
|
|
|
|
|
|
|
|
|
|
|
|
_inputToolbar = [[ConversationInputToolbar alloc] initWithConversationStyle:self.conversationStyle];
|
|
|
|
_inputToolbar = [[ConversationInputToolbar alloc] initWithConversationStyle:self.conversationStyle];
|
|
|
|
self.inputToolbar.inputToolbarDelegate = self;
|
|
|
|
self.inputToolbar.inputToolbarDelegate = self;
|
|
|
|
self.inputToolbar.inputTextViewDelegate = self;
|
|
|
|
self.inputToolbar.inputTextViewDelegate = self;
|
|
|
|
|
|
|
|
SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(self, _inputToolbar);
|
|
|
|
|
|
|
|
|
|
|
|
self.loadMoreHeader = [UILabel new];
|
|
|
|
self.loadMoreHeader = [UILabel new];
|
|
|
|
self.loadMoreHeader.text = NSLocalizedString(@"CONVERSATION_VIEW_LOADING_MORE_MESSAGES",
|
|
|
|
self.loadMoreHeader.text = NSLocalizedString(@"CONVERSATION_VIEW_LOADING_MORE_MESSAGES",
|
|
|
@ -634,6 +636,7 @@ typedef enum : NSUInteger {
|
|
|
|
[self.loadMoreHeader autoPinWidthToWidthOfView:self.view];
|
|
|
|
[self.loadMoreHeader autoPinWidthToWidthOfView:self.view];
|
|
|
|
[self.loadMoreHeader autoPinEdgeToSuperviewEdge:ALEdgeTop];
|
|
|
|
[self.loadMoreHeader autoPinEdgeToSuperviewEdge:ALEdgeTop];
|
|
|
|
[self.loadMoreHeader autoSetDimension:ALDimensionHeight toSize:kLoadMoreHeaderHeight];
|
|
|
|
[self.loadMoreHeader autoSetDimension:ALDimensionHeight toSize:kLoadMoreHeaderHeight];
|
|
|
|
|
|
|
|
SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(self, _loadMoreHeader);
|
|
|
|
|
|
|
|
|
|
|
|
[self updateShowLoadMoreHeader];
|
|
|
|
[self updateShowLoadMoreHeader];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -1006,6 +1009,7 @@ typedef enum : NSUInteger {
|
|
|
|
[closeButton autoPinLeadingToTrailingEdgeOfView:label offset:kBannerHSpacing];
|
|
|
|
[closeButton autoPinLeadingToTrailingEdgeOfView:label offset:kBannerHSpacing];
|
|
|
|
|
|
|
|
|
|
|
|
[bannerView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:tapSelector]];
|
|
|
|
[bannerView addGestureRecognizer:[[UITapGestureRecognizer alloc] initWithTarget:self action:tapSelector]];
|
|
|
|
|
|
|
|
bannerView.accessibilityIdentifier = ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"banner_close");
|
|
|
|
|
|
|
|
|
|
|
|
[self.view addSubview:bannerView];
|
|
|
|
[self.view addSubview:bannerView];
|
|
|
|
[bannerView autoPinToTopLayoutGuideOfViewController:self withInset:10];
|
|
|
|
[bannerView autoPinToTopLayoutGuideOfViewController:self withInset:10];
|
|
|
@ -1083,7 +1087,9 @@ typedef enum : NSUInteger {
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
[actionSheet addAction:verifyAction];
|
|
|
|
[actionSheet addAction:verifyAction];
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *dismissAction = [UIAlertAction actionWithTitle:CommonStrings.dismissButton
|
|
|
|
UIAlertAction *dismissAction =
|
|
|
|
|
|
|
|
[UIAlertAction actionWithTitle:CommonStrings.dismissButton
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"dismiss")
|
|
|
|
style:UIAlertActionStyleCancel
|
|
|
|
style:UIAlertActionStyleCancel
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[weakSelf resetVerificationStateToDefault];
|
|
|
|
[weakSelf resetVerificationStateToDefault];
|
|
|
@ -1358,6 +1364,7 @@ typedef enum : NSUInteger {
|
|
|
|
ConversationHeaderView *headerView =
|
|
|
|
ConversationHeaderView *headerView =
|
|
|
|
[[ConversationHeaderView alloc] initWithThread:self.thread contactsManager:self.contactsManager];
|
|
|
|
[[ConversationHeaderView alloc] initWithThread:self.thread contactsManager:self.contactsManager];
|
|
|
|
self.headerView = headerView;
|
|
|
|
self.headerView = headerView;
|
|
|
|
|
|
|
|
SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(self, headerView);
|
|
|
|
|
|
|
|
|
|
|
|
headerView.delegate = self;
|
|
|
|
headerView.delegate = self;
|
|
|
|
self.navigationItem.titleView = headerView;
|
|
|
|
self.navigationItem.titleView = headerView;
|
|
|
@ -1483,7 +1490,9 @@ typedef enum : NSUInteger {
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
round(image.size.width + imageEdgeInsets.left + imageEdgeInsets.right),
|
|
|
|
round(image.size.width + imageEdgeInsets.left + imageEdgeInsets.right),
|
|
|
|
round(image.size.height + imageEdgeInsets.top + imageEdgeInsets.bottom));
|
|
|
|
round(image.size.height + imageEdgeInsets.top + imageEdgeInsets.bottom));
|
|
|
|
[barButtons addObject:[[UIBarButtonItem alloc] initWithCustomView:callButton]];
|
|
|
|
[barButtons
|
|
|
|
|
|
|
|
addObject:[[UIBarButtonItem alloc] initWithCustomView:callButton
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"call")]];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (self.disappearingMessagesConfiguration.isEnabled) {
|
|
|
|
if (self.disappearingMessagesConfiguration.isEnabled) {
|
|
|
@ -1502,7 +1511,9 @@ typedef enum : NSUInteger {
|
|
|
|
timerView.frame = CGRectMake(0, 0, 36, 44);
|
|
|
|
timerView.frame = CGRectMake(0, 0, 36, 44);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[barButtons addObject:[[UIBarButtonItem alloc] initWithCustomView:timerView]];
|
|
|
|
[barButtons
|
|
|
|
|
|
|
|
addObject:[[UIBarButtonItem alloc] initWithCustomView:timerView
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"timer")]];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
self.navigationItem.rightBarButtonItems = [barButtons copy];
|
|
|
|
self.navigationItem.rightBarButtonItems = [barButtons copy];
|
|
|
@ -1805,6 +1816,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *resendMessageAction = [UIAlertAction
|
|
|
|
UIAlertAction *resendMessageAction = [UIAlertAction
|
|
|
|
actionWithTitle:NSLocalizedString(@"SEND_AGAIN_BUTTON", @"")
|
|
|
|
actionWithTitle:NSLocalizedString(@"SEND_AGAIN_BUTTON", @"")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_again")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[self.editingDatabaseConnection
|
|
|
|
[self.editingDatabaseConnection
|
|
|
@ -1852,6 +1864,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *resetSessionAction = [UIAlertAction
|
|
|
|
UIAlertAction *resetSessionAction = [UIAlertAction
|
|
|
|
actionWithTitle:NSLocalizedString(@"FINGERPRINT_SHRED_KEYMATERIAL_BUTTON", @"")
|
|
|
|
actionWithTitle:NSLocalizedString(@"FINGERPRINT_SHRED_KEYMATERIAL_BUTTON", @"")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"reset_session")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
if (![self.thread isKindOfClass:[TSContactThread class]]) {
|
|
|
|
if (![self.thread isKindOfClass:[TSContactThread class]]) {
|
|
|
@ -1885,6 +1898,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *showSafteyNumberAction =
|
|
|
|
UIAlertAction *showSafteyNumberAction =
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"SHOW_SAFETY_NUMBER_ACTION", @"Action sheet item")
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"SHOW_SAFETY_NUMBER_ACTION", @"Action sheet item")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"show_safety_number")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
OWSLogInfo(@"Remote Key Changed actions: Show fingerprint display");
|
|
|
|
OWSLogInfo(@"Remote Key Changed actions: Show fingerprint display");
|
|
|
@ -1894,6 +1908,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *acceptSafetyNumberAction =
|
|
|
|
UIAlertAction *acceptSafetyNumberAction =
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"ACCEPT_NEW_IDENTITY_ACTION", @"Action sheet item")
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"ACCEPT_NEW_IDENTITY_ACTION", @"Action sheet item")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"accept_safety_number")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
OWSLogInfo(@"Remote Key Changed actions: Accepted new identity key");
|
|
|
|
OWSLogInfo(@"Remote Key Changed actions: Accepted new identity key");
|
|
|
@ -1936,6 +1951,7 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
__weak ConversationViewController *weakSelf = self;
|
|
|
|
__weak ConversationViewController *weakSelf = self;
|
|
|
|
UIAlertAction *callAction = [UIAlertAction actionWithTitle:[CallStrings callBackAlertCallButton]
|
|
|
|
UIAlertAction *callAction = [UIAlertAction actionWithTitle:[CallStrings callBackAlertCallButton]
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"call_back")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[weakSelf startAudioCall];
|
|
|
|
[weakSelf startAudioCall];
|
|
|
@ -2207,15 +2223,17 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
[actionSheet addAction:[OWSAlerts cancelAction]];
|
|
|
|
[actionSheet addAction:[OWSAlerts cancelAction]];
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *blockAction = [UIAlertAction
|
|
|
|
UIAlertAction *blockAction =
|
|
|
|
actionWithTitle:NSLocalizedString(
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"BLOCK_OFFER_ACTIONSHEET_BLOCK_ACTION",
|
|
|
|
@"BLOCK_OFFER_ACTIONSHEET_BLOCK_ACTION", @"Action sheet that will block an unknown user.")
|
|
|
|
@"Action sheet that will block an unknown user.")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"block_user")
|
|
|
|
style:UIAlertActionStyleDestructive
|
|
|
|
style:UIAlertActionStyleDestructive
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
OWSLogInfo(@"Blocking an unknown user.");
|
|
|
|
OWSLogInfo(@"Blocking an unknown user.");
|
|
|
|
[self.blockingManager addBlockedPhoneNumber:interaction.recipientId];
|
|
|
|
[self.blockingManager addBlockedPhoneNumber:interaction.recipientId];
|
|
|
|
// Delete the offers.
|
|
|
|
// Delete the offers.
|
|
|
|
[self.editingDatabaseConnection readWriteWithBlock:^(YapDatabaseReadWriteTransaction *transaction) {
|
|
|
|
[self.editingDatabaseConnection
|
|
|
|
|
|
|
|
readWriteWithBlock:^(YapDatabaseReadWriteTransaction *transaction) {
|
|
|
|
contactThread.hasDismissedOffers = YES;
|
|
|
|
contactThread.hasDismissedOffers = YES;
|
|
|
|
[contactThread saveWithTransaction:transaction];
|
|
|
|
[contactThread saveWithTransaction:transaction];
|
|
|
|
[interaction removeWithTransaction:transaction];
|
|
|
|
[interaction removeWithTransaction:transaction];
|
|
|
@ -2566,6 +2584,7 @@ typedef enum : NSUInteger {
|
|
|
|
[self.view addSubview:self.scrollDownButton];
|
|
|
|
[self.view addSubview:self.scrollDownButton];
|
|
|
|
[self.scrollDownButton autoSetDimension:ALDimensionWidth toSize:ConversationScrollButton.buttonSize];
|
|
|
|
[self.scrollDownButton autoSetDimension:ALDimensionWidth toSize:ConversationScrollButton.buttonSize];
|
|
|
|
[self.scrollDownButton autoSetDimension:ALDimensionHeight toSize:ConversationScrollButton.buttonSize];
|
|
|
|
[self.scrollDownButton autoSetDimension:ALDimensionHeight toSize:ConversationScrollButton.buttonSize];
|
|
|
|
|
|
|
|
SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(self, _scrollDownButton);
|
|
|
|
|
|
|
|
|
|
|
|
// The "scroll down" button layout tracks the content inset of the collection view,
|
|
|
|
// The "scroll down" button layout tracks the content inset of the collection view,
|
|
|
|
// so pin to the edge of the collection view.
|
|
|
|
// so pin to the edge of the collection view.
|
|
|
@ -2584,6 +2603,7 @@ typedef enum : NSUInteger {
|
|
|
|
[self.scrollUpButton autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
|
|
|
[self.scrollUpButton autoPinToTopLayoutGuideOfViewController:self withInset:0];
|
|
|
|
[self.scrollUpButton autoPinEdgeToSuperviewSafeArea:ALEdgeTrailing];
|
|
|
|
[self.scrollUpButton autoPinEdgeToSuperviewSafeArea:ALEdgeTrailing];
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
SET_SUBVIEW_ACCESSIBILITY_IDENTIFIER(self, _scrollUpButton);
|
|
|
|
|
|
|
|
|
|
|
|
[self updateScrollDownButtonLayout];
|
|
|
|
[self updateScrollDownButtonLayout];
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -3409,8 +3429,10 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
[actionSheet addAction:[OWSAlerts cancelAction]];
|
|
|
|
[actionSheet addAction:[OWSAlerts cancelAction]];
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *takeMediaAction = [UIAlertAction
|
|
|
|
UIAlertAction *takeMediaAction =
|
|
|
|
actionWithTitle:NSLocalizedString(@"MEDIA_FROM_CAMERA_BUTTON", @"media picker option to take photo or video")
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(
|
|
|
|
|
|
|
|
@"MEDIA_FROM_CAMERA_BUTTON", @"media picker option to take photo or video")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_camera")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[self takePictureOrVideo];
|
|
|
|
[self takePictureOrVideo];
|
|
|
@ -3420,8 +3442,10 @@ typedef enum : NSUInteger {
|
|
|
|
[takeMediaAction setValue:takeMediaImage forKey:@"image"];
|
|
|
|
[takeMediaAction setValue:takeMediaImage forKey:@"image"];
|
|
|
|
[actionSheet addAction:takeMediaAction];
|
|
|
|
[actionSheet addAction:takeMediaAction];
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *chooseMediaAction = [UIAlertAction
|
|
|
|
UIAlertAction *chooseMediaAction =
|
|
|
|
actionWithTitle:NSLocalizedString(@"MEDIA_FROM_LIBRARY_BUTTON", @"media picker option to choose from library")
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(
|
|
|
|
|
|
|
|
@"MEDIA_FROM_LIBRARY_BUTTON", @"media picker option to choose from library")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_choose_media")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[self chooseFromLibraryAsMedia];
|
|
|
|
[self chooseFromLibraryAsMedia];
|
|
|
@ -3431,8 +3455,10 @@ typedef enum : NSUInteger {
|
|
|
|
[chooseMediaAction setValue:chooseMediaImage forKey:@"image"];
|
|
|
|
[chooseMediaAction setValue:chooseMediaImage forKey:@"image"];
|
|
|
|
[actionSheet addAction:chooseMediaAction];
|
|
|
|
[actionSheet addAction:chooseMediaAction];
|
|
|
|
|
|
|
|
|
|
|
|
UIAlertAction *gifAction = [UIAlertAction
|
|
|
|
UIAlertAction *gifAction =
|
|
|
|
actionWithTitle:NSLocalizedString(@"SELECT_GIF_BUTTON", @"Label for 'select GIF to attach' action sheet button")
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"SELECT_GIF_BUTTON",
|
|
|
|
|
|
|
|
@"Label for 'select GIF to attach' action sheet button")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_gif")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[self showGifPicker];
|
|
|
|
[self showGifPicker];
|
|
|
@ -3445,6 +3471,7 @@ typedef enum : NSUInteger {
|
|
|
|
UIAlertAction *chooseDocumentAction =
|
|
|
|
UIAlertAction *chooseDocumentAction =
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"MEDIA_FROM_DOCUMENT_PICKER_BUTTON",
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"MEDIA_FROM_DOCUMENT_PICKER_BUTTON",
|
|
|
|
@"action sheet button title when choosing attachment type")
|
|
|
|
@"action sheet button title when choosing attachment type")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_document")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[self showAttachmentDocumentPickerMenu];
|
|
|
|
[self showAttachmentDocumentPickerMenu];
|
|
|
@ -3458,6 +3485,7 @@ typedef enum : NSUInteger {
|
|
|
|
UIAlertAction *chooseContactAction =
|
|
|
|
UIAlertAction *chooseContactAction =
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"ATTACHMENT_MENU_CONTACT_BUTTON",
|
|
|
|
[UIAlertAction actionWithTitle:NSLocalizedString(@"ATTACHMENT_MENU_CONTACT_BUTTON",
|
|
|
|
@"attachment menu option to send contact")
|
|
|
|
@"attachment menu option to send contact")
|
|
|
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_contact")
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
handler:^(UIAlertAction *action) {
|
|
|
|
[self chooseContactForSending];
|
|
|
|
[self chooseContactForSending];
|
|
|
@ -4543,6 +4571,10 @@ typedef enum : NSUInteger {
|
|
|
|
|
|
|
|
|
|
|
|
[cell loadForDisplay];
|
|
|
|
[cell loadForDisplay];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Confirm with nancy if this will work.
|
|
|
|
|
|
|
|
NSString *cellName = [NSString stringWithFormat:@"interaction.%@", NSUUID.UUID.UUIDString];
|
|
|
|
|
|
|
|
cell.accessibilityIdentifier = ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, cellName);
|
|
|
|
|
|
|
|
|
|
|
|
return cell;
|
|
|
|
return cell;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|