forked from Henry-Hiles/nexus
fix bug in timeline
This commit is contained in:
parent
4f66bdc817
commit
34f45c929a
4 changed files with 36 additions and 19 deletions
|
|
@ -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,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue