Fix dark theme gradient

This commit is contained in:
Ilya Laktyushin
2022-10-20 19:08:01 +03:00
parent 88e07a974f
commit 82a62b5a3f
2 changed files with 4 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ class ChatHistoryNavigationButtonNode: ContextControllerSourceNode {
if let backgroundContent = backgroundNode.makeBubbleBackground(for: .free) {
backgroundContent.allowsGroupOpacity = true
backgroundContent.clipsToBounds = true
backgroundContent.alpha = 0.2
backgroundContent.alpha = 0.3
backgroundContent.cornerRadius = 19.0
backgroundContent.frame = self.backgroundNode.frame
self.buttonNode.insertSubnode(backgroundContent, aboveSubnode: self.backgroundNode)