Change timeline animations to use .top (flipped). (#1751)

This commit is contained in:
Doug 2023-09-19 15:13:44 +01:00 committed by GitHub
parent dd0a36904c
commit fe656450ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,8 +178,10 @@ class TimelineTableViewController: UIViewController {
cell.contentView.transform = CGAffineTransform(scaleX: 1, y: -1)
return cell
}
dataSource?.defaultRowAnimation = .fade
// We only animate when there's a new last message, so its safe
// to animate from the bottom (which is the top as we're flipped).
dataSource?.defaultRowAnimation = .top
tableView.delegate = self
}