mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Invite Links Improvements
This commit is contained in:
@@ -931,8 +931,8 @@ final class PeerInfoAvatarListContainerNode: ASDisplayNode {
|
||||
var directionIsToRight: Bool?
|
||||
if abs(velocity.x) > 10.0 {
|
||||
directionIsToRight = velocity.x < 0.0
|
||||
} else if abs(transitionFraction) > 0.5 {
|
||||
directionIsToRight = transitionFraction < 0.0
|
||||
} else if abs(self.transitionFraction) > 0.5 {
|
||||
directionIsToRight = self.transitionFraction < 0.0
|
||||
}
|
||||
var updatedIndex = self.currentIndex
|
||||
if let directionIsToRight = directionIsToRight {
|
||||
|
||||
Reference in New Issue
Block a user