mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-18 19:56:27 +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()
|
sizeTableHeaderFooterViews()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool {
|
||||||
|
if newItemsView.alpha > 0 {
|
||||||
|
hideNewItemsView()
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.accessibilityScroll(direction)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension TableViewController {
|
extension TableViewController {
|
||||||
|
|
Loading…
Reference in a new issue