mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix profile gift cover pattern color
This commit is contained in:
parent
0485aed646
commit
7b441c74f4
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ public final class PeerInfoCoverComponent: Component {
|
|||
]
|
||||
} else if case let .status(status) = component.subject, case let .starGift(_, _, _, _, _, _, _, patternColorValue, _) = status.content {
|
||||
let patternColor = UIColor(rgb: UInt32(bitPattern: patternColorValue))
|
||||
self.avatarBackgroundPatternContentsLayer.compositingFilter = "overlayBlendMode"
|
||||
self.avatarBackgroundPatternContentsLayer.compositingFilter = nil
|
||||
self.avatarBackgroundPatternContentsLayer.colors = [
|
||||
patternColor.withAlphaComponent(0.6).cgColor,
|
||||
patternColor.withAlphaComponent(0.0).cgColor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue