Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Use more apt and descriptive name

ashilknb4e3ff70cbe1
diff --git a/mobile/apps/photos/lib/models/gallery/gallery_groups.dart b/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
index 7b101ef6df..dc8566444f 100644
--- a/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
+++ b/mobile/apps/photos/lib/models/gallery/gallery_groups.dart
@@ -91,7 +91,7 @@ class GalleryGroups {
/// incomplete rows in each group.
List<EnteFile> get allFilesWithDummies => _allFilesWithDummies;
- double? getOffsetOfFile(EnteFile file) {
+ double? getOffsetOfGroupContainingFile(EnteFile file) {
final creationTime = file.creationTime;
if (creationTime == null) {
_logger.warning('Cannot scroll to file with null creation time');
@@ -101,7 +101,7 @@ class GalleryGroups {
final groupId = _findGroupForCreationTime(creationTime);
if (groupId == null) {
_logger.warning(
- 'jumpToFile No group found for creation time: $creationTime',
+ 'No group found for creation time: $creationTime',
);
return null;
}