forked from cwtch.im/cwtch-ui
use l10n str
This commit is contained in:
parent
00ce310cbc
commit
6d261c999b
|
@ -71,7 +71,7 @@ class _MessageListState extends State<MessageList> {
|
|||
? ScrollablePositionedList.builder(
|
||||
itemPositionsListener: widget.scrollListener,
|
||||
itemScrollController: widget.scrollController,
|
||||
initialScrollIndex: initi > 4 ? initi - 4 : 0,//Provider.of<AppState>(outerContext, listen: false).initialScrollIndex - 4,
|
||||
initialScrollIndex: initi > 4 ? initi - 4 : 0,
|
||||
itemCount: Provider.of<ContactInfoState>(outerContext).totalMessages,
|
||||
reverse: true, // NOTE: There seems to be a bug in flutter that corrects the mouse wheel scroll, but not the drag direction...
|
||||
itemBuilder: (itemBuilderContext, index) {
|
||||
|
|
|
@ -221,7 +221,7 @@ class MessageRowState extends State<MessageRow> with SingleTickerProviderStateMi
|
|||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(9.0),
|
||||
child: Text('New Messages')));
|
||||
child: Text(AppLocalizations.of(context)!.newMessagesLabel)));
|
||||
}
|
||||
|
||||
void _runAnimation(Offset pixelsPerSecond, Size size) {
|
||||
|
|
Loading…
Reference in New Issue