Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix Christmas scroll animation (#8423)

Aman Raj73e9ac5430b0
diff --git a/mobile/apps/photos/lib/ui/tabs/home_widget.dart b/mobile/apps/photos/lib/ui/tabs/home_widget.dart
index b42448b381..46a2e8c985 100644
--- a/mobile/apps/photos/lib/ui/tabs/home_widget.dart
+++ b/mobile/apps/photos/lib/ui/tabs/home_widget.dart
@@ -876,6 +876,8 @@ class _HomeWidgetState extends State<HomeWidget> {
onNotification: (notification) {
if (!isChristmasPeriod()) return false;
+ if (notification.metrics.axis != Axis.vertical) return false;
+
const double maxPullOffset = 200.0;
if (notification is ScrollUpdateNotification) {