| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Love this approach! Just see one comment but otherwise lgtm
} else {I think we should be more explicit about the types here. `UITableViewCellAccessoryDisclosureIndicator` will present a chevron which implies some navigability. This is fine for `GeminiSettingsActionTypeViewController` but we shouldn't assume it's what we want for other enum values
How about something like
```
switch (action.type) {
case GeminiSettingsActionTypeURL: {
self.accessorySymbol = TableViewDetailTextCellAccessorySymbolExternalLink;
self.accessibilityTraits |= UIAccessibilityTraitLink;
break;
}
case GeminiSettingsActionTypeViewController: {
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
self.accessibilityTraits |= UIAccessibilityTraitButton;
break;
}
case GeminiSettingsActionTypeUnknown: {
self.accessoryType = UITableViewCellAccessoryNone;
break;
}
}
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
I think we should be more explicit about the types here. `UITableViewCellAccessoryDisclosureIndicator` will present a chevron which implies some navigability. This is fine for `GeminiSettingsActionTypeViewController` but we shouldn't assume it's what we want for other enum values
How about something like
```
switch (action.type) {
case GeminiSettingsActionTypeURL: {
self.accessorySymbol = TableViewDetailTextCellAccessorySymbolExternalLink;
self.accessibilityTraits |= UIAccessibilityTraitLink;
break;
}
case GeminiSettingsActionTypeViewController: {
self.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
self.accessibilityTraits |= UIAccessibilityTraitButton;
break;
}
case GeminiSettingsActionTypeUnknown: {
self.accessoryType = UITableViewCellAccessoryNone;
break;
}
}
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
lgtm
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |