This commit is contained in:
Ali
2023-07-25 22:08:46 +04:00
parent d8501b41c2
commit 29f29e927e
46 changed files with 1590 additions and 71 deletions

View File

@@ -322,10 +322,9 @@ public final class ChatListNavigationBar: Component {
let storiesUnlocked: Bool
if allowAvatarsExpansion {
storiesOffsetFraction = max(0.0, min(4.0, -offset / ChatListNavigationBar.storiesScrollHeight))
if offset <= -60.0 {
if offset <= -65.0 {
storiesUnlocked = true
} else if offset >= -58.0 {
} else if offset >= -61.0 {
storiesUnlocked = false
} else {
storiesUnlocked = self.storiesUnlocked