Fix back pagination (#432)

* Use pagination and start items for view state.

isBackPaginating and canBackPaginate are updated each time the timeline is rebuilt

* Update some timeline snapshots

The top section has gone, which has altered the layout slightly.
This commit is contained in:
Doug
2023-01-11 09:11:36 +00:00
committed by GitHub
parent 3d1266ca25
commit 08b333839a
24 changed files with 54 additions and 72 deletions
@@ -49,6 +49,7 @@ struct RoomScreenViewState: BindableState {
var roomTitle = ""
var roomAvatar: UIImage?
var items: [RoomTimelineViewProvider] = []
var canBackPaginate = true
var isBackPaginating = false
var showLoading = false
var bindings: RoomScreenViewStateBindings