Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add comment

AmanRajSinghMourya416b00359624
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index e39bf67fd0..c3f0483d2a 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -1010,6 +1010,12 @@ class GalleryIndexUpdatedEvent {
GalleryIndexUpdatedEvent(this.tag, this.index);
}
+
+/// Custom scroll physics that extends [BouncingScrollPhysics] to provide
+/// exponential bouncing behavior for scrollable widgets.
+///
+/// TODO: Revert this PR https://github.com/ente-io/ente/pull/8401 after Jan 1, 2026.
+/// This was implemented temporarily for the Christmas banner and should be removed afterwards.
class ExponentialBouncingScrollPhysics extends BouncingScrollPhysics {
const ExponentialBouncingScrollPhysics({super.parent});