Fix load more
This commit is contained in:
parent
028a2b7802
commit
f7fe037a6a
4 changed files with 8 additions and 2 deletions
|
|
@ -456,7 +456,7 @@ class _ChatState extends State<_Chat> {
|
|||
controller: _scrollController,
|
||||
itemBuilder: (BuildContext context, int i) {
|
||||
return i == timeline.events.length + 1
|
||||
? _canLoadMore
|
||||
? _canLoadMore && !_loadingHistory
|
||||
? FlatButton(
|
||||
child: Text(
|
||||
L10n.of(context).loadMore,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue