mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 01:31:02 +00:00
VoiceOver improvements
This commit is contained in:
parent
e07e7829eb
commit
8b05358fb4
1 changed files with 10 additions and 0 deletions
|
@ -62,6 +62,16 @@ final class StatusView: UIView {
|
|||
required init?(coder: NSCoder) {
|
||||
fatalError("init(coder:) has not been implemented")
|
||||
}
|
||||
|
||||
override func accessibilityActivate() -> Bool {
|
||||
if !statusConfiguration.viewModel.shouldShowContent {
|
||||
statusConfiguration.viewModel.toggleShowContent()
|
||||
|
||||
return true
|
||||
} else {
|
||||
return super.accessibilityActivate()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
extension StatusView {
|
||||
|
|
Loading…
Reference in a new issue