Various fixes

This commit is contained in:
Ilya Laktyushin
2021-10-27 22:02:55 +04:00
parent b33d7888b8
commit 452a45d71d
6 changed files with 43 additions and 20 deletions

View File

@@ -624,11 +624,17 @@ open class ItemListControllerNode: ASDisplayNode {
self.listNode.backgroundColor = transition.theme.list.plainBackgroundColor
self.leftOverlayNode.backgroundColor = transition.theme.list.plainBackgroundColor
self.rightOverlayNode.backgroundColor = transition.theme.list.plainBackgroundColor
self.leftOverlayNode.isHidden = true
self.rightOverlayNode.isHidden = true
case .blocks:
self.backgroundColor = transition.theme.list.blocksBackgroundColor
self.listNode.backgroundColor = transition.theme.list.blocksBackgroundColor
self.leftOverlayNode.backgroundColor = transition.theme.list.blocksBackgroundColor
self.rightOverlayNode.backgroundColor = transition.theme.list.blocksBackgroundColor
self.leftOverlayNode.isHidden = false
self.rightOverlayNode.isHidden = false
}
}
}