fix bug in timeline

This commit is contained in:
Henry Hiles 2026-01-30 14:26:59 +01:00
commit 34f45c929a
No known key found for this signature in database
4 changed files with 36 additions and 19 deletions

View file

@ -267,7 +267,9 @@ class RoomChat extends HookConsumerWidget {
chatAnimatedListBuilder: (_, itemBuilder) =>
ChatAnimatedList(
itemBuilder: itemBuilder,
onEndReached: notifier.loadOlder,
onEndReached: room.hasMore
? notifier.loadOlder
: null,
onStartReached: () => client.markRead(room),
bottomPadding: 72,
),