Fix load more

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

View file

@ -679,6 +679,11 @@
"type": "text",
"placeholders": {}
},
"Load more...": "Lade mehr ...",
"@Load more...": {
"type": "text",
"placeholders": {}
},
"loadCountMoreParticipants": "{count} weitere Teilnehmer laden",
"@loadCountMoreParticipants": {
"type": "text",

View file

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

View file

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

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,