use l10n str
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
erinn 2021-11-10 16:19:18 -08:00
parent 00ce310cbc
commit 6d261c999b
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {