|
@@ -195,16 +195,18 @@ bool isLeapYear(DateTime dateTime) {
|
|
|
Widget getDayWidget(
|
|
|
BuildContext context,
|
|
|
int timestamp,
|
|
|
+ int photoGridSize,
|
|
|
) {
|
|
|
final colorScheme = getEnteColorScheme(context);
|
|
|
final textTheme = getEnteTextTheme(context);
|
|
|
+ final textStyle = photoGridSize < 6 ? textTheme.body : textTheme.small;
|
|
|
return Container(
|
|
|
alignment: Alignment.centerLeft,
|
|
|
child: Text(
|
|
|
getDayTitle(timestamp),
|
|
|
style: (getDayTitle(timestamp) == "Today")
|
|
|
- ? textTheme.body
|
|
|
- : textTheme.body.copyWith(color: colorScheme.textMuted),
|
|
|
+ ? textStyle
|
|
|
+ : textStyle.copyWith(color: colorScheme.textMuted),
|
|
|
),
|
|
|
);
|
|
|
}
|