Skip to content

Conversation

@MHShetty
Copy link
Member

This PR tries to resolve issue #497. It includes preview inversion support for existing save image/video as previewed toggle as renames them to "Fix inversion of camera" toggle for photo and video individually. Unifying it further might need us to get away with the existing toggles/preferences

MHShetty added 2 commits July 18, 2025 02:07
(to fixing inversion for front camera)
(while corresponding settings are enabled)
previewBuilder.setPreviewStabilizationEnabled(false)
}

// Adapt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// Adapt
val shouldMirror = lensFacing == CameraSelector.LENS_FACING_FRONT &&
((isVideoMode && saveVideoAsPreviewed) || (isInPhotoMode && saveImageAsPreviewed))
previewBuilder.setMirrorMode(
if (shouldMirror) MirrorMode.MIRROR_MODE_ON
else MirrorMode.MIRROR_MODE_OFF
)

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.

1 participant