mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix unread header background color
This commit is contained in:
parent
d43b84497c
commit
10b5386143
@ -167,10 +167,7 @@ class ChatUnreadItemNode: ListViewItemNode {
|
||||
strongSelf.backgroundNode.isHidden = true
|
||||
backgroundContent.frame = strongSelf.backgroundNode.frame
|
||||
if let (rect, containerSize) = strongSelf.absolutePosition {
|
||||
var backgroundFrame = backgroundContent.frame
|
||||
backgroundFrame.origin.x += rect.minX
|
||||
backgroundFrame.origin.y += rect.minY
|
||||
backgroundContent.update(rect: backgroundFrame, within: containerSize, transition: .immediate)
|
||||
strongSelf.updateAbsoluteRect(rect, within: containerSize)
|
||||
}
|
||||
} else {
|
||||
strongSelf.backgroundNode.isHidden = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user