Put back the initial pagination. (#635)
This commit is contained in:
@@ -45,6 +45,10 @@ struct TimelineView: UIViewControllerRepresentable {
|
||||
|
||||
init(viewModelContext: RoomScreenViewModel.Context) {
|
||||
context = viewModelContext
|
||||
|
||||
if viewModelContext.viewState.items.isEmpty {
|
||||
viewModelContext.send(viewAction: .paginateBackwards)
|
||||
}
|
||||
}
|
||||
|
||||
/// Updates the specified table view's properties from the current view state.
|
||||
|
||||
Reference in New Issue
Block a user