Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove BoxWithConstraints for Camera preview. #27

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

donovanfm
Copy link
Contributor

This was previously being done to address an issue with the aspect ratio of the CameraX+Compose preview component. However, it's no longer needed, and removing it allows the preview to fill the full width of the screen on more devices.

Addresses issue #15

This was previously being done to address an issue with the aspect ratio of the CameraX+Compose preview component. However, it's no longer needed, and removing it allows the preview to fill the full width of the screen on more devices.
Copy link

@romanofranz romanofranz left a comment

Choose a reason for hiding this comment

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

This LGTM. Just tested on Pixel Fold. Perhaps we can also remove the back arrow from the top left for an even bigger viewfinder?

@donovanfm donovanfm merged commit f81a4bd into main Mar 12, 2024
2 checks passed
@donovanfm donovanfm deleted the remove-camera-preview-constraints branch March 12, 2024 15:19
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.

2 participants