Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Remove redundant gallery rebuild log

ashil-pilot735f8a5c60ff
diff --git a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
index efcaf1cad7..5bddb960af 100644
--- a/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
+++ b/mobile/apps/photos/lib/ui/viewer/gallery/gallery.dart
@@ -208,11 +208,10 @@ class GalleryState extends State<Gallery> {
);
_layoutChangeSubscription = Bus.instance
.on<GalleryLayoutChangedEvent>()
- .listen((event) async {
+ .listen((_) async {
if (!mounted) return;
final generation = ++_layoutChangeGeneration;
final scrollAnchor = _captureLayoutScrollAnchor();
- _logger.info("Rebuilding gallery for ${event.reason}");
_setGroupType();
final measuredHeaderExtent = await _measureGroupHeaderExtent();
if (!mounted || generation != _layoutChangeGeneration) return;