Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove unnecessary boundary notifier comments

ashilkn275882a13c9a
diff --git a/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart b/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart
index 9b94c22091..98104f3d70 100644
--- a/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart
+++ b/mobile/apps/photos/lib/ui/map/map_pull_up_gallery.dart
@@ -48,7 +48,6 @@ class _MapPullUpGalleryState extends State<MapPullUpGallery> {
final unsafeAreaProportion = widget.bottomUnsafeArea / screenHeight;
final double initialChildSize = 0.25 + unsafeAreaProportion;
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/archive_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/archive_page.dart
index be1e194086..ae88f95f8f 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/archive_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/archive_page.dart
@@ -34,7 +34,6 @@ class ArchivePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart
index 0ac1aecf16..c68b717439 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/collection_page.dart
@@ -116,7 +116,6 @@ class CollectionPage extends StatelessWidget {
: const SizedBox(height: 212),
);
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart
index ae226c1ff6..963b9d2af8 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/device_folder_page.dart
@@ -34,7 +34,6 @@ class DeviceFolderPage extends StatelessWidget {
@override
Widget build(Object context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/hidden_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/hidden_page.dart
index 1447ab72f0..311128836a 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/hidden_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/hidden_page.dart
@@ -88,7 +88,6 @@ class _HiddenPageState extends State<HiddenPage> {
if (_defaultHiddenCollectionId == null) {
return const EnteLoadingWidget();
}
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/large_files_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/large_files_page.dart
index b1c82c70ca..eb086f48d3 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/large_files_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/large_files_page.dart
@@ -39,7 +39,6 @@ class LargeFilesPagePage extends StatefulWidget {
class _LargeFilesPagePageState extends State<LargeFilesPagePage> {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/shared_public_collection_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/shared_public_collection_page.dart
index dc35703293..3dfdd3426e 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/shared_public_collection_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/shared_public_collection_page.dart
@@ -69,7 +69,6 @@ class _SharedPublicCollectionPageState
@override
Widget build(BuildContext context) {
logger.info("Building SharedPublicCollectionPage");
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart
index 3c37505578..96cab91fc0 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/trash_page.dart
@@ -32,7 +32,6 @@ class TrashPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/uncategorized_page.dart b/mobile/apps/photos/lib/ui/viewer/gallery/uncategorized_page.dart
index 13c4fe95b1..a240e61ec1 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/uncategorized_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/uncategorized_page.dart
@@ -39,7 +39,6 @@ class UnCategorizedPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/location/location_screen.dart b/mobile/apps/photos/lib/ui/viewer/location/location_screen.dart
index 71512c32c9..8b9dfe0246 100644
--- a/mobile/apps/photos/lib/ui/viewer/location/location_screen.dart
+++ b/mobile/apps/photos/lib/ui/viewer/location/location_screen.dart
@@ -47,7 +47,6 @@ class _LocationScreenState extends State<LocationScreen> {
final locationTag =
InheritedLocationScreenState.of(context).locationTagEntity.item;
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/people/cluster_page.dart b/mobile/apps/photos/lib/ui/viewer/people/cluster_page.dart
index 74611286c1..cb70de7fc5 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/cluster_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/cluster_page.dart
@@ -115,7 +115,6 @@ class _ClusterPageState extends State<ClusterPage> {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/people/people_page.dart b/mobile/apps/photos/lib/ui/viewer/people/people_page.dart
index 9a5c8f7703..624ba0ad7f 100644
--- a/mobile/apps/photos/lib/ui/viewer/people/people_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/people/people_page.dart
@@ -130,7 +130,6 @@ class _PeoplePageState extends State<PeoplePage> {
@override
Widget build(BuildContext context) {
_logger.info("Building for ${_person.data.name}");
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/contact_result_page.dart b/mobile/apps/photos/lib/ui/viewer/search/result/contact_result_page.dart
index 2d0b174a8c..a1fd8fd160 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/contact_result_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/contact_result_page.dart
@@ -93,7 +93,6 @@ class _ContactResultPageState extends State<ContactResultPage> {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart b/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart
index bab4cf0d3d..86545e8406 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/magic_result_screen.dart
@@ -141,7 +141,6 @@ class _MagicResultScreenState extends State<MagicResultScreen> {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);
diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/search_result_page.dart b/mobile/apps/photos/lib/ui/viewer/search/result/search_result_page.dart
index d19d0c41f5..c07d9790d3 100644
--- a/mobile/apps/photos/lib/ui/viewer/search/result/search_result_page.dart
+++ b/mobile/apps/photos/lib/ui/viewer/search/result/search_result_page.dart
@@ -74,7 +74,6 @@ class _SearchResultPageState extends State<SearchResultPage> {
@override
Widget build(BuildContext context) {
- // Create boundary notifiers
final topBoundaryNotifier = ValueNotifier<double?>(null);
final bottomBoundaryNotifier = ValueNotifier<double?>(null);
final scrollControllerNotifier = ValueNotifier<ScrollController?>(null);