Add a View to show the beginning of the timeline (parity with iOS)

This commit is contained in:
Benoit Marty 2023-11-14 17:06:19 +01:00
parent 5209627f67
commit 2cb0060f96
33 changed files with 156 additions and 28 deletions

View file

@ -24,7 +24,8 @@ interface MatrixTimeline {
data class PaginationState(
val isBackPaginating: Boolean,
val hasMoreToLoadBackwards: Boolean
val hasMoreToLoadBackwards: Boolean,
val beginningOfRoomReached: Boolean,
) {
val canBackPaginate = !isBackPaginating && hasMoreToLoadBackwards
}