[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:
Helen Qin
2023-03-02 03:22:50 +00:00
parent f285d70f0c
commit 6edc6e0dd6

View File

@@ -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,