Skip to content

armgit / ente

Public Imported from GitHub
0

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

chore

ashilkn1ab4cf5fd7f8
diff --git a/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart b/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart
index 607543f12a..19e34a9934 100644
--- a/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart
+++ b/mobile/apps/photos/lib/ui/home/home_gallery_widget.dart
@@ -9,7 +9,6 @@ import 'package:photos/events/files_updated_event.dart';
import 'package:photos/events/force_reload_home_gallery_event.dart';
import "package:photos/events/hide_shared_items_from_home_gallery_event.dart";
import 'package:photos/events/local_photos_updated_event.dart';
-import "package:photos/models/file/file.dart";
import 'package:photos/models/file_load_result.dart';
import 'package:photos/models/gallery_type.dart';
import 'package:photos/models/selected_files.dart';
@@ -28,14 +27,12 @@ class HomeGalleryWidget extends StatefulWidget {
final Widget? footer;
final SelectedFiles selectedFiles;
final GroupType? groupType;
- final EnteFile? fileToJumpScrollTo;
const HomeGalleryWidget({
super.key,
this.header,
this.footer,
this.groupType,
- this.fileToJumpScrollTo,
required this.selectedFiles,
});
@@ -136,7 +133,6 @@ class _HomeGalleryWidgetState extends State<HomeGalleryWidget> {
reloadDebounceExecutionInterval: const Duration(seconds: 5),
galleryType: GalleryType.homepage,
groupType: widget.groupType,
- fileToJumpScrollTo: widget.fileToJumpScrollTo,
showGallerySettingsCTA: true,
);
return GalleryFilesState(
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index ae0c8a5be1..f1a4a62650 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -83,7 +83,6 @@ class Gallery extends StatefulWidget {
final GroupType? groupType;
final bool disablePinnedGroupHeader;
final bool disableVerticalPaddingForScrollbar;
- final EnteFile? fileToJumpScrollTo;
const Gallery({
required this.asyncLoader,
@@ -111,7 +110,6 @@ class Gallery extends StatefulWidget {
this.disablePinnedGroupHeader = false,
this.galleryType,
this.disableVerticalPaddingForScrollbar = false,
- this.fileToJumpScrollTo,
this.showGallerySettingsCTA = false,
super.key,
});