mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02: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…
x
Reference in New Issue
Block a user