[CredManUi] Apply surface1 to the whole bottom sheet.
Before, the surface1 color was only applied to the top card which left the bottom corner color incorrect. Bug: 271168041 Test: manual (see bug for screenshot) Change-Id: Ic2b7f3b13563955e39b00611ba1a4b04aeac721c
This commit is contained in:
@@ -39,7 +39,9 @@ fun ModalBottomSheet(
|
||||
skipHalfExpanded = true
|
||||
)
|
||||
ModalBottomSheetLayout(
|
||||
sheetBackgroundColor = MaterialTheme.colorScheme.surface,
|
||||
sheetBackgroundColor = MaterialTheme.colorScheme.surfaceColorAtElevation(
|
||||
ElevationTokens.Level1
|
||||
),
|
||||
modifier = Modifier.background(Color.Transparent),
|
||||
sheetState = state,
|
||||
sheetContent = sheetContent,
|
||||
|
||||
Reference in New Issue
Block a user