mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-05 05:18:54 +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
|
spoilerMetaLabel.isUserInteractionEnabled = false
|
||||||
|
|
||||||
isAccessibilityElement = true
|
isAccessibilityElement = true
|
||||||
|
accessibilityTraits.insert(.button)
|
||||||
}
|
}
|
||||||
|
|
||||||
public func setComponentHidden(_ isHidden: Bool) {
|
public func setComponentHidden(_ isHidden: Bool) {
|
||||||
|
Loading…
Reference in New Issue
Block a user