Fix load more
This commit is contained in:
parent
a46a3a3c1d
commit
51c060f954
|
@ -679,6 +679,11 @@
|
|||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"Load more...": "Lade mehr ...",
|
||||
"@Load more...": {
|
||||
"type": "text",
|
||||
"placeholders": {}
|
||||
},
|
||||
"loadCountMoreParticipants": "{count} weitere Teilnehmer laden",
|
||||
"@loadCountMoreParticipants": {
|
||||
"type": "text",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"@@last_modified": "2020-05-09T11:48:21.714805",
|
||||
"@@last_modified": "2020-05-09T12:56:54.540935",
|
||||
"About": "About",
|
||||
"@About": {
|
||||
"type": "text",
|
||||
|
|
|
@ -227,6 +227,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"Left the chat" : MessageLookupByLibrary.simpleMessage("Hat den Chat verlassen"),
|
||||
"License" : MessageLookupByLibrary.simpleMessage("Lizenz"),
|
||||
"Light" : MessageLookupByLibrary.simpleMessage("Hell"),
|
||||
"Load more..." : MessageLookupByLibrary.simpleMessage("Lade mehr ..."),
|
||||
"Loading... Please wait" : MessageLookupByLibrary.simpleMessage("Lade ... Bitte warten"),
|
||||
"Login" : MessageLookupByLibrary.simpleMessage("Login"),
|
||||
"Logout" : MessageLookupByLibrary.simpleMessage("Logout"),
|
||||
|
|
|
@ -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…
Reference in a new issue