mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-05 19:28:46 +02:00
fix: keep My Story label visible in compact rail
This commit is contained in:
parent
505595889f
commit
592063fc84
1 changed files with 2 additions and 1 deletions
|
|
@ -1068,7 +1068,8 @@ public final class StoryPeerListItemComponent: Component {
|
|||
titleTransition.setPosition(view: self.titleContainer, position: titleContainerFrame.center)
|
||||
self.titleContainer.bounds = CGRect(origin: CGPoint(), size: titleContainerFrame.size)
|
||||
titleTransition.setScale(view: self.titleContainer, scale: effectiveScale)
|
||||
titleTransition.setAlpha(view: self.titleContainer, alpha: component.expandedAlphaFraction)
|
||||
let isOwnEmptyStoryItem = component.peer.id == component.context.account.peerId && !component.hasItems && component.ringAnimation == nil
|
||||
titleTransition.setAlpha(view: self.titleContainer, alpha: isOwnEmptyStoryItem ? 1.0 : component.expandedAlphaFraction)
|
||||
|
||||
if let ringAnimation = component.ringAnimation {
|
||||
var progressTransition = transition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue