Fix load more
This commit is contained in:
parent
a46a3a3c1d
commit
51c060f954
|
@ -679,6 +679,11 @@
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
|
"Load more...": "Lade mehr ...",
|
||||||
|
"@Load more...": {
|
||||||
|
"type": "text",
|
||||||
|
"placeholders": {}
|
||||||
|
},
|
||||||
"loadCountMoreParticipants": "{count} weitere Teilnehmer laden",
|
"loadCountMoreParticipants": "{count} weitere Teilnehmer laden",
|
||||||
"@loadCountMoreParticipants": {
|
"@loadCountMoreParticipants": {
|
||||||
"type": "text",
|
"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": "About",
|
||||||
"@About": {
|
"@About": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
|
|
|
@ -227,6 +227,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"Left the chat" : MessageLookupByLibrary.simpleMessage("Hat den Chat verlassen"),
|
"Left the chat" : MessageLookupByLibrary.simpleMessage("Hat den Chat verlassen"),
|
||||||
"License" : MessageLookupByLibrary.simpleMessage("Lizenz"),
|
"License" : MessageLookupByLibrary.simpleMessage("Lizenz"),
|
||||||
"Light" : MessageLookupByLibrary.simpleMessage("Hell"),
|
"Light" : MessageLookupByLibrary.simpleMessage("Hell"),
|
||||||
|
"Load more..." : MessageLookupByLibrary.simpleMessage("Lade mehr ..."),
|
||||||
"Loading... Please wait" : MessageLookupByLibrary.simpleMessage("Lade ... Bitte warten"),
|
"Loading... Please wait" : MessageLookupByLibrary.simpleMessage("Lade ... Bitte warten"),
|
||||||
"Login" : MessageLookupByLibrary.simpleMessage("Login"),
|
"Login" : MessageLookupByLibrary.simpleMessage("Login"),
|
||||||
"Logout" : MessageLookupByLibrary.simpleMessage("Logout"),
|
"Logout" : MessageLookupByLibrary.simpleMessage("Logout"),
|
||||||
|
|
|
@ -456,7 +456,7 @@ class _ChatState extends State<_Chat> {
|
||||||
controller: _scrollController,
|
controller: _scrollController,
|
||||||
itemBuilder: (BuildContext context, int i) {
|
itemBuilder: (BuildContext context, int i) {
|
||||||
return i == timeline.events.length + 1
|
return i == timeline.events.length + 1
|
||||||
? _canLoadMore
|
? _canLoadMore && !_loadingHistory
|
||||||
? FlatButton(
|
? FlatButton(
|
||||||
child: Text(
|
child: Text(
|
||||||
L10n.of(context).loadMore,
|
L10n.of(context).loadMore,
|
||||||
|
|
Loading…
Reference in a new issue