mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix layout
This commit is contained in:
parent
328049a053
commit
fa6c21fb11
@ -2546,7 +2546,7 @@ func shouldDisplayStoriesInChatListHeader(storySubscriptions: EngineStorySubscri
|
||||
if !storySubscriptions.items.isEmpty {
|
||||
return true
|
||||
}
|
||||
if !isHidden, let accountItem = storySubscriptions.accountItem, (accountItem.hasUnseen || accountItem.hasPending) {
|
||||
if !isHidden, let _ = storySubscriptions.accountItem {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
@ -816,8 +816,6 @@ public final class StoryPeerListItemComponent: Component {
|
||||
titleTransition.setAlpha(view: titleView, alpha: component.expandedAlphaFraction)
|
||||
}
|
||||
|
||||
self.indicatorColorSeenLayer.isHidden = component.ringAnimation != nil
|
||||
|
||||
if let ringAnimation = component.ringAnimation {
|
||||
var progressTransition = transition
|
||||
let progressLayer: StoryProgressLayer
|
||||
|
Loading…
x
Reference in New Issue
Block a user