Skip to content

fix(camera): Android dialog not fully showing when in landscape#2276

Merged
alexgerardojacinto merged 3 commits intomainfrom
fix/RMET-3826/dialog-landscape
Dec 10, 2024
Merged

fix(camera): Android dialog not fully showing when in landscape#2276
alexgerardojacinto merged 3 commits intomainfrom
fix/RMET-3826/dialog-landscape

Conversation

@alexgerardojacinto
Copy link
Copy Markdown
Collaborator

@alexgerardojacinto alexgerardojacinto commented Dec 10, 2024

  • Fixes the CameraSheetDialogFragment that wasn't fully showing when orientation was landscape, by explicitly setting its state to BottomSheetBehavior.STATE_EXPANDED.
  • Also removes unnecessary null check since instanceof will return false if behavior is null.

Closes: #2224

Context: If state isn't set to STATE_EXPANDED, the BottomSheet will open collapsed when orientation is landscape.

References: https://outsystemsrd.atlassian.net/browse/RMET-3826
Context: `instanceof` already returns `false if `behavior` is null

References: https://outsystemsrd.atlassian.net/browse/RMET-3826
@alexgerardojacinto alexgerardojacinto self-assigned this Dec 10, 2024
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 10, 2024

Released dev build of camera with dev version: 7.0.0-dev-2276-20241210T153000.0

@alexgerardojacinto alexgerardojacinto merged commit 123193b into main Dec 10, 2024
@alexgerardojacinto alexgerardojacinto deleted the fix/RMET-3826/dialog-landscape branch December 10, 2024 16:42
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.

Camera Prompt Landscape

3 participants