| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
__strong __typeof(weakSelf) strongSelf = weakSelf;This isn't explicitly required
__strong __typeof(weakSelf) strongSelf = weakSelf;
if (!strongSelf) {
return NO;
}
return [strongSelf closeButtonTapped];A method call on nil will return `NO`, so no need to strongify and check for nil. You can just call the method
```suggestion
return [weakSelf closeButtonTapped];
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +2 |
This isn't explicitly required
Acknowledged
__strong __typeof(weakSelf) strongSelf = weakSelf;
if (!strongSelf) {
return NO;
}
return [strongSelf closeButtonTapped];A method call on nil will return `NO`, so no need to strongify and check for nil. You can just call the method
```suggestion
return [weakSelf closeButtonTapped];
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: ios/chrome/browser/composebox/ui/composebox_input_item_cell.mm
Insertions: 1, Deletions: 5.
@@ -180,11 +180,7 @@
IDS_IOS_COMPOSEBOX_DELETE_ATTACHMENT_ACCESSIBILITY_CUSTOM_ACTION)
image:image
actionHandler:^BOOL(UIAccessibilityCustomAction* action) {
- __strong __typeof(weakSelf) strongSelf = weakSelf;
- if (!strongSelf) {
- return NO;
- }
- return [strongSelf closeButtonTapped];
+ return [weakSelf closeButtonTapped];
}] ];
}
```
[ios] Fix VoiceOver delete action and add iPad pointer hover effect
- Migrate custom accessibility actions on ComposeboxInputItemCell to the block-based actionHandler API, and change the signature of closeButtonTapped to return BOOL. This ensures VoiceOver correctly discovers and exposes the 'Delete attachment' custom action.
- Add UIPointerInteraction to ComposeboxInputItemCell via ViewPointerInteraction to support hover effects when iPad pointer is hovering over attachment elements in the carousel.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |