mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-03 04:19:24 +01:00
Mark the spoiler overlay view as a button
This commit is contained in:
parent
715aa8c248
commit
4da11c9dfb
@ -72,6 +72,7 @@ extension SpoilerOverlayView {
|
||||
spoilerMetaLabel.isUserInteractionEnabled = false
|
||||
|
||||
isAccessibilityElement = true
|
||||
accessibilityTraits.insert(.button)
|
||||
}
|
||||
|
||||
public func setComponentHidden(_ isHidden: Bool) {
|
||||
|
Loading…
Reference in New Issue
Block a user