mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix missing back pagination attempt
Avoiding not populating past the initial events
This commit is contained in:
@@ -56,10 +56,6 @@ class TimelineTableViewController: UIViewController {
|
||||
|
||||
applySnapshot()
|
||||
|
||||
if timelineItemsDictionary.isEmpty {
|
||||
paginatePublisher.send()
|
||||
}
|
||||
|
||||
sendLastVisibleItemReadReceipt()
|
||||
}
|
||||
}
|
||||
@@ -390,6 +386,9 @@ class TimelineTableViewController: UIViewController {
|
||||
// Re-evaluate after the snapshot has been applied so the new layout is reflected.
|
||||
DispatchQueue.main.async { [weak self] in
|
||||
self?.updateReadMarkerVisibility()
|
||||
|
||||
// Make sure we paginate with the final timeline geometry
|
||||
self?.paginatePublisher.send(())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user