|
...
|
...
|
@@ -490,7 +490,9 @@ class TodayTabBody extends StatelessWidget { |
|
|
|
return context.l10n.yesterday;
|
|
|
|
}
|
|
|
|
if (isSameDay(selectedDay, today.subtract(const Duration(days: 2)))) {
|
|
|
|
return l10n.theDayBeforeYesterday;
|
|
|
|
if (context.l10n.theDayBeforeYesterday.length <= 10) {
|
|
|
|
return context.l10n.theDayBeforeYesterday;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
final locale = Localizations.localeOf(context).toString();
|
|
|
|
if (selectedDay.year == today.year) {
|
...
|
...
|
|