mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Put back the initial pagination. (#635)
This commit is contained in:
@@ -45,6 +45,10 @@ struct TimelineView: UIViewControllerRepresentable {
|
|||||||
|
|
||||||
init(viewModelContext: RoomScreenViewModel.Context) {
|
init(viewModelContext: RoomScreenViewModel.Context) {
|
||||||
context = viewModelContext
|
context = viewModelContext
|
||||||
|
|
||||||
|
if viewModelContext.viewState.items.isEmpty {
|
||||||
|
viewModelContext.send(viewAction: .paginateBackwards)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Updates the specified table view's properties from the current view state.
|
/// Updates the specified table view's properties from the current view state.
|
||||||
|
|||||||
Reference in New Issue
Block a user