Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: keep My Story label visible in compact rail
  • Loading branch information
xsa-dev committed Jun 13, 2026
commit 592063fc849288a91f24716580dc3c2b5558df4e
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down