mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Fix timeline scroll to top crash after introducing the typing notification section
This commit is contained in:
committed by
Stefan Ceriu
parent
548fd27d6a
commit
939c4e7b33
@@ -280,7 +280,7 @@ class TimelineTableViewController: UIViewController {
|
|||||||
guard !timelineItemsIDs.isEmpty else {
|
guard !timelineItemsIDs.isEmpty else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
tableView.scrollToRow(at: IndexPath(item: timelineItemsIDs.count - 1, section: 0), at: .bottom, animated: animated)
|
tableView.scrollToRow(at: IndexPath(item: timelineItemsIDs.count - 1, section: 1), at: .bottom, animated: animated)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Checks whether or a backwards pagination is needed and requests one if so.
|
/// Checks whether or a backwards pagination is needed and requests one if so.
|
||||||
|
|||||||
Reference in New Issue
Block a user