fix bug in timeline
This commit is contained in:
parent
79fe4ea440
commit
0e6b9a8133
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