1
0
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:
Jed Fox 2022-10-31 13:15:29 -04:00
parent 715aa8c248
commit 4da11c9dfb
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1

View File

@ -72,6 +72,7 @@ extension SpoilerOverlayView {
spoilerMetaLabel.isUserInteractionEnabled = false
isAccessibilityElement = true
accessibilityTraits.insert(.button)
}
public func setComponentHidden(_ isHidden: Bool) {