ios: reduce scroll stickiness threshold for user profiles to 32px

This commit is contained in:
Evgeny Poberezkin
2024-09-24 09:46:54 +01:00
parent 0f301adc57
commit 3685c85743
@@ -44,7 +44,7 @@ struct StickyScrollView<Content: View>: UIViewRepresentable {
withVelocity velocity: CGPoint,
targetContentOffset: UnsafeMutablePointer<CGPoint>
) {
if targetContentOffset.pointee.x < 64 {
if targetContentOffset.pointee.x < 32 {
targetContentOffset.pointee.x = 0
}
}