mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Fix ASTableView to have None direction
This commit is contained in:
@@ -580,7 +580,7 @@ static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";
|
||||
ASScrollDirection direction = ASScrollDirectionNone;
|
||||
if (velocity.y > 0) {
|
||||
direction = ASScrollDirectionDown;
|
||||
} else {
|
||||
} else if (velocity.y < 0) {
|
||||
direction = ASScrollDirectionUp;
|
||||
}
|
||||
return direction;
|
||||
|
||||
Reference in New Issue
Block a user