mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +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()
|
applySnapshot()
|
||||||
|
|
||||||
if timelineItemsDictionary.isEmpty {
|
|
||||||
paginatePublisher.send()
|
|
||||||
}
|
|
||||||
|
|
||||||
sendLastVisibleItemReadReceipt()
|
sendLastVisibleItemReadReceipt()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -390,6 +386,9 @@ class TimelineTableViewController: UIViewController {
|
|||||||
// Re-evaluate after the snapshot has been applied so the new layout is reflected.
|
// Re-evaluate after the snapshot has been applied so the new layout is reflected.
|
||||||
DispatchQueue.main.async { [weak self] in
|
DispatchQueue.main.async { [weak self] in
|
||||||
self?.updateReadMarkerVisibility()
|
self?.updateReadMarkerVisibility()
|
||||||
|
|
||||||
|
// Make sure we paginate with the final timeline geometry
|
||||||
|
self?.paginatePublisher.send(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user