iOS client for Grain grain.social
ios photography atproto
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: double-tap like targeting wrong gallery after scrolling

PinchZoomOverlay's updateUIView was empty, so the coordinator kept a
stale onDoubleTap closure when LazyVStack reused cells. Now updateUIView
refreshes the coordinator's parent reference so the gesture always fires
against the correct gallery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+3 -1
+3 -1
Grain/Views/Components/ZoomableImage.swift
··· 80 80 return view 81 81 } 82 82 83 - func updateUIView(_: UIView, context _: Context) {} 83 + func updateUIView(_: UIView, context: Context) { 84 + context.coordinator.parent = self 85 + } 84 86 85 87 func makeCoordinator() -> Coordinator { 86 88 Coordinator(self)