mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Stories
This commit is contained in:
@@ -489,7 +489,7 @@ private final class PeerComponent: Component {
|
||||
self.addSubview(crownIcon)
|
||||
}
|
||||
|
||||
if topPlace != previousComponent?.topPlace {
|
||||
if topPlace != previousComponent?.topPlace || previousComponent?.color != component.color {
|
||||
crownIcon.image = StoryLiveChatMessageComponent.generateCrownImage(place: topPlace, backgroundColor: component.color, foregroundColor: .white, borderColor: component.theme.actionSheet.opaqueItemBackgroundColor)
|
||||
}
|
||||
if let image = crownIcon.image {
|
||||
|
||||
Reference in New Issue
Block a user