mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-03 04:19:24 +01:00
fix removing status metric view from a11y heirarchy
This commit is contained in:
parent
4da11c9dfb
commit
98b87a0b20
@ -104,8 +104,8 @@ extension StatusThreadRootTableViewCell {
|
||||
statusView.mediaGridContainerView,
|
||||
statusView.pollTableView,
|
||||
statusView.pollStatusStackView,
|
||||
statusView.actionToolbarContainer,
|
||||
statusView.statusMetricView
|
||||
statusView.actionToolbarContainer
|
||||
// statusMetricView is intentionally excluded
|
||||
]
|
||||
|
||||
if statusView.viewModel.isContentReveal {
|
||||
|
@ -100,8 +100,6 @@ extension StatusMetricView {
|
||||
|
||||
reblogButton.addTarget(self, action: #selector(StatusMetricView.reblogButtonDidPressed(_:)), for: .touchUpInside)
|
||||
favoriteButton.addTarget(self, action: #selector(StatusMetricView.favoriteButtonDidPressed(_:)), for: .touchUpInside)
|
||||
|
||||
accessibilityElementsHidden = true
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user