Remove unused parameter

This commit is contained in:
ashilkn
2025-07-04 12:11:17 +05:30
parent cde42eb43a
commit 23728107a3
2 changed files with 4 additions and 2 deletions

View File

@@ -208,7 +208,6 @@ class GalleryGroups {
title: groupType.getTitle(
context,
dailyFiles.first,
lastFile: dailyFiles.last,
),
groupType: groupType,
);

View File

@@ -46,7 +46,10 @@ extension GroupTypeExtension on GroupType {
return true;
}
String getTitle(BuildContext context, EnteFile file, {EnteFile? lastFile}) {
String getTitle(
BuildContext context,
EnteFile file,
) {
if (this == GroupType.day) {
return _getDayTitle(context, file.creationTime!);
} else if (this == GroupType.week) {