From 9fbd3794e489078847822fd334fb6bd73f29942d Mon Sep 17 00:00:00 2001 From: Ali <> Date: Sun, 25 Jun 2023 00:28:19 +0300 Subject: [PATCH] Fix offset --- .../StoryPeerListComponent/Sources/StoryPeerListComponent.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/TelegramUI/Components/Stories/StoryPeerListComponent/Sources/StoryPeerListComponent.swift b/submodules/TelegramUI/Components/Stories/StoryPeerListComponent/Sources/StoryPeerListComponent.swift index 1e44bfc724..3cd83c0c8f 100644 --- a/submodules/TelegramUI/Components/Stories/StoryPeerListComponent/Sources/StoryPeerListComponent.swift +++ b/submodules/TelegramUI/Components/Stories/StoryPeerListComponent/Sources/StoryPeerListComponent.swift @@ -785,7 +785,7 @@ public final class StoryPeerListComponent: Component { transition.animation = .none if self.component != nil { - if component.collapseFraction != 0.0 && self.scrollView.bounds.minX != 0.0 { + if !component.unlocked && self.scrollView.bounds.minX != 0.0 { self.ignoreScrolling = true let scrollingDistance = self.scrollView.bounds.minX