Skip to content

Conversation

@savyobrenner
Copy link

No description provided.

f3dm76 and others added 30 commits March 21, 2025 17:16
The old flipCamera() assumed the first session input was the video device,
which failed if other inputs (e.g. audio) were present. This caused camera
flipping to break or remove the wrong input.

The guard in addInput() would fail when the audio input was already
added, preventing the zoom configuration from running for back cameras. This caused
the camera to default to the ultra-wide-angle lens instead of preserving the wide
angle behavior based on the zoom value.
Using `.applyIf` (or wrapping with `Group`) to conditionally attach
the `MagnificationGesture` introduced a noticeable delay when
camera opens because the view is recreated.

This commit replaces the higher-order conditional wrapper with a
direct `isZoomSupported` check inside the gesture handlers. The
zoom gesture is now always attached, but only processes events when
zoom is supported. This removes the delay while still preventing
unsupported devices from triggering zoom.
fix(camera): improve camera opening delay and flip function
changed to have fixed 3 column width instead of dynamic width
Added editorconfig for standardised formatting
added functionality for showing camera cell prominent, 2 cell height
setMediaPickerParameters with parameter liveCameraCell allows external libraries to set the liveCameraCell style
changing MediaPickerParamsHolder to public
update to create compressed thumbnail for image types in getThumbnail…
Add public initializer for Media struct
Fix not dismissing AnchoredPopup with mediaSelectionLimit(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants