mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Stop the timeline from requesting back pagination whilst loading existing items. (#2969)
* Handle Rust error "can't subscribe to the back-pagination status on a focused timeline" * Fix a bug where the timeline was attempting to paginate before adding the items. * Stop the timeline from paginating whilst loading existing items.
This commit is contained in:
@@ -117,7 +117,7 @@ class TimelineTableViewController: UIViewController {
|
||||
}
|
||||
|
||||
/// The state of pagination (in both directions) of the current timeline.
|
||||
var paginationState: PaginationState = .default {
|
||||
var paginationState: PaginationState = .initial {
|
||||
didSet {
|
||||
// Paginate again if the threshold hasn't been satisfied.
|
||||
paginatePublisher.send(())
|
||||
|
||||
Reference in New Issue
Block a user