Fix load more

This commit is contained in:
Christian Pauly 2020-05-09 12:57:48 +02:00
commit f7fe037a6a
4 changed files with 8 additions and 2 deletions

View file

@ -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,