Added list view accessibility scrolling localization

This commit is contained in:
Ilya Laktyushin
2021-02-19 20:27:25 +04:00
parent 5597eacb4e
commit e673a3153f
43 changed files with 2825 additions and 2638 deletions

View File

@@ -220,6 +220,10 @@ final class CallListControllerNode: ASDisplayNode {
self.listNode = ListView()
self.listNode.verticalScrollIndicatorColor = self.presentationData.theme.list.scrollIndicatorColor
self.listNode.accessibilityPageScrolledString = { row, count in
return presentationData.strings.VoiceOver_ScrollStatus(row, count).0
}
self.leftOverlayNode = ASDisplayNode()
self.leftOverlayNode.backgroundColor = self.presentationData.theme.list.blocksBackgroundColor
self.rightOverlayNode = ASDisplayNode()