mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Change timeline animations to use .top (flipped). (#1751)
This commit is contained in:
@@ -178,8 +178,10 @@ class TimelineTableViewController: UIViewController {
|
|||||||
cell.contentView.transform = CGAffineTransform(scaleX: 1, y: -1)
|
cell.contentView.transform = CGAffineTransform(scaleX: 1, y: -1)
|
||||||
return cell
|
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
|
tableView.delegate = self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user