Prevent unnecessary backpagination requests from running every time a room is entered

- related to #1760 which moved initial timeline item computations to a serial queue
This commit is contained in:
Stefan Ceriu
2024-02-02 15:25:11 +02:00
committed by Stefan Ceriu
parent 7aa81f542c
commit 31ca8ed7f2
3 changed files with 4 additions and 5 deletions
@@ -46,10 +46,6 @@ struct UITimelineView: UIViewControllerRepresentable {
init(viewModelContext: RoomScreenViewModel.Context) {
context = viewModelContext
if viewModelContext.viewState.timelineViewState.itemViewStates.isEmpty {
viewModelContext.send(viewAction: .paginateBackwards)
}
}
/// Updates the specified table view's properties from the current view state.