timeline : improve jumpTo precision (introducing animateScrollToItemCenter)

This commit is contained in:
ganfra 2024-10-03 12:49:24 +02:00
parent 88e01e7c2e
commit adc03c9676
14 changed files with 102 additions and 86 deletions

View file

@ -16,7 +16,6 @@ import io.element.android.libraries.matrix.api.timeline.item.virtual.VirtualTime
* This post processor is responsible for adding a typing notification item to the timeline items when the timeline is in live mode.
*/
class TypingNotificationPostProcessor(private val mode: Timeline.Mode) {
fun process(items: List<MatrixTimelineItem>): List<MatrixTimelineItem> {
return if (mode == Timeline.Mode.LIVE) {
buildList {