|
|
|
@ -136,6 +136,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
addItem:[OWSTableItem disclosureItemWithText:NSLocalizedString(@"GROUP_MEMBERS_RESET_NO_LONGER_VERIFIED",
|
|
|
|
|
@"Label for the button that clears all verification "
|
|
|
|
|
@"errors in the 'group members' view.")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"no_longer_verified")
|
|
|
|
|
customRowHeight:UITableViewAutomaticDimension
|
|
|
|
|
actionBlock:^{
|
|
|
|
|
[weakSelf offerResetAllNoLongerVerified];
|
|
|
|
@ -196,6 +197,10 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
[cell setAttributedSubtitle:nil];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
NSString *cellName = [NSString stringWithFormat:@"user.%@", recipientId];
|
|
|
|
|
cell.accessibilityIdentifier
|
|
|
|
|
= ACCESSIBILITY_IDENTIFIER_WITH_NAME(ShowGroupMembersViewController, cellName);
|
|
|
|
|
|
|
|
|
|
return cell;
|
|
|
|
|
}
|
|
|
|
|
customRowHeight:UITableViewAutomaticDimension
|
|
|
|
@ -221,6 +226,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
|
|
__weak ShowGroupMembersViewController *weakSelf = self;
|
|
|
|
|
UIAlertAction *verifyAction = [UIAlertAction actionWithTitle:NSLocalizedString(@"OK", nil)
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"ok")
|
|
|
|
|
style:UIAlertActionStyleDestructive
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[weakSelf resetAllNoLongerVerified];
|
|
|
|
@ -283,7 +289,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
? NSLocalizedString(@"GROUP_MEMBERS_VIEW_CONTACT_INFO", @"Button label for the 'show contact info' button")
|
|
|
|
|
: NSLocalizedString(
|
|
|
|
|
@"GROUP_MEMBERS_ADD_CONTACT_INFO", @"Button label to add information to an unknown contact");
|
|
|
|
|
[actionSheet addAction:[UIAlertAction actionWithTitle:contactInfoTitle
|
|
|
|
|
[actionSheet
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:contactInfoTitle
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"show_contact_info")
|
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[self showContactInfoViewForRecipientId:recipientId];
|
|
|
|
@ -297,6 +305,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
[actionSheet
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"BLOCK_LIST_UNBLOCK_BUTTON",
|
|
|
|
|
@"Button label for the 'unblock' button")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"unblock")
|
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[BlockListUIUtils
|
|
|
|
@ -312,6 +321,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
[actionSheet
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"BLOCK_LIST_BLOCK_BUTTON",
|
|
|
|
|
@"Button label for the 'block' button")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"block")
|
|
|
|
|
style:UIAlertActionStyleDestructive
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[BlockListUIUtils
|
|
|
|
@ -330,6 +340,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
[actionSheet
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"BLOCK_LIST_UNBLOCK_BUTTON",
|
|
|
|
|
@"Button label for the 'unblock' button")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"unblock")
|
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[BlockListUIUtils
|
|
|
|
@ -345,6 +356,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
[actionSheet
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"BLOCK_LIST_BLOCK_BUTTON",
|
|
|
|
|
@"Button label for the 'block' button")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"block")
|
|
|
|
|
style:UIAlertActionStyleDestructive
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[BlockListUIUtils
|
|
|
|
@ -363,12 +375,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
[actionSheet
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"GROUP_MEMBERS_SEND_MESSAGE",
|
|
|
|
|
@"Button label for the 'send message to group member' button")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"send_message")
|
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[self showConversationViewForRecipientId:recipientId];
|
|
|
|
|
}]];
|
|
|
|
|
[actionSheet addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"GROUP_MEMBERS_CALL",
|
|
|
|
|
@"Button label for the 'call group member' button")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"call")
|
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[self callMember:recipientId];
|
|
|
|
@ -377,6 +391,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
addAction:[UIAlertAction actionWithTitle:NSLocalizedString(@"VERIFY_PRIVACY",
|
|
|
|
|
@"Label for button or row which allows users to verify the "
|
|
|
|
|
@"safety number of another user.")
|
|
|
|
|
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(self, @"safety_numbers")
|
|
|
|
|
style:UIAlertActionStyleDefault
|
|
|
|
|
handler:^(UIAlertAction *_Nonnull action) {
|
|
|
|
|
[self showSafetyNumberView:recipientId];
|
|
|
|
|