Merge branches 'master' and 'master' of gitlab.com:peter-iakovlev/telegram-ios

This commit is contained in:
Ilya Laktyushin 2021-06-11 16:16:46 +03:00
commit ce452674ec

View File

@ -211,7 +211,7 @@ final class ChatListSearchFiltersContainerNode: ASDisplayNode {
let previousContentWidth = self.scrollNode.view.contentSize.width let previousContentWidth = self.scrollNode.view.contentSize.width
if self.currentParams?.presentationData.theme !== presentationData.theme { if self.currentParams?.presentationData.theme !== presentationData.theme {
self.backgroundColor = presentationData.theme.rootController.navigationBar.opaqueBackgroundColor //self.backgroundColor = presentationData.theme.rootController.navigationBar.opaqueBackgroundColor
self.selectedLineNode.image = generateImage(CGSize(width: 5.0, height: 3.0), rotatedContext: { size, context in self.selectedLineNode.image = generateImage(CGSize(width: 5.0, height: 3.0), rotatedContext: { size, context in
context.clear(CGRect(origin: CGPoint(), size: size)) context.clear(CGRect(origin: CGPoint(), size: size))
context.setFillColor(presentationData.theme.list.itemAccentColor.cgColor) context.setFillColor(presentationData.theme.list.itemAccentColor.cgColor)