mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-31 01:27:11 +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.mediaGridContainerView,
|
||||||
statusView.pollTableView,
|
statusView.pollTableView,
|
||||||
statusView.pollStatusStackView,
|
statusView.pollStatusStackView,
|
||||||
statusView.actionToolbarContainer,
|
statusView.actionToolbarContainer
|
||||||
statusView.statusMetricView
|
// statusMetricView is intentionally excluded
|
||||||
]
|
]
|
||||||
|
|
||||||
if statusView.viewModel.isContentReveal {
|
if statusView.viewModel.isContentReveal {
|
||||||
|
@ -100,8 +100,6 @@ extension StatusMetricView {
|
|||||||
|
|
||||||
reblogButton.addTarget(self, action: #selector(StatusMetricView.reblogButtonDidPressed(_:)), for: .touchUpInside)
|
reblogButton.addTarget(self, action: #selector(StatusMetricView.reblogButtonDidPressed(_:)), for: .touchUpInside)
|
||||||
favoriteButton.addTarget(self, action: #selector(StatusMetricView.favoriteButtonDidPressed(_:)), for: .touchUpInside)
|
favoriteButton.addTarget(self, action: #selector(StatusMetricView.favoriteButtonDidPressed(_:)), for: .touchUpInside)
|
||||||
|
|
||||||
accessibilityElementsHidden = true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user