mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-18 03:36:30 +00:00
Dismiss new items indicator on accessibility scroll
This commit is contained in:
parent
cdd54957f7
commit
f0eeb558a5
1 changed files with 8 additions and 0 deletions
|
@ -183,6 +183,14 @@ class TableViewController: UITableViewController {
|
|||
|
||||
sizeTableHeaderFooterViews()
|
||||
}
|
||||
|
||||
override func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool {
|
||||
if newItemsView.alpha > 0 {
|
||||
hideNewItemsView()
|
||||
}
|
||||
|
||||
return super.accessibilityScroll(direction)
|
||||
}
|
||||
}
|
||||
|
||||
extension TableViewController {
|
||||
|
|
Loading…
Reference in a new issue