forked from shadowfacts/Tusker
Fix More button in profile header not being VoiceOver accessible
This commit is contained in:
parent
f54d4d757f
commit
0566f0ddfa
|
@ -55,6 +55,8 @@ class VisualEffectImageButton: UIControl {
|
||||||
addInteraction(UIContextMenuInteraction(delegate: self))
|
addInteraction(UIContextMenuInteraction(delegate: self))
|
||||||
|
|
||||||
addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(onTap)))
|
addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(onTap)))
|
||||||
|
|
||||||
|
isAccessibilityElement = true
|
||||||
}
|
}
|
||||||
|
|
||||||
@objc private func onTap() {
|
@objc private func onTap() {
|
||||||
|
|
Loading…
Reference in New Issue