Skip to content

Commit

Permalink
centering the bottomsheet on custom width (microsoft#668)
Browse files Browse the repository at this point in the history
Co-authored-by: PraveenKumar <pyeruva@microsoft.com>
  • Loading branch information
praveen970 and PraveenKumar authored Jul 2, 2024
1 parent 66855c2 commit aba0508
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ fun BottomSheet(

Box(
Modifier
.align(Alignment.Center)
.fillMaxWidth(
if(configuration.orientation == Configuration.ORIENTATION_LANDSCAPE)maxLandscapeWidth
else 1F
Expand Down

0 comments on commit aba0508

Please sign in to comment.