Merge "[CredManUi] Apply surface1 to the whole bottom sheet." into udc-dev

This commit is contained in:
Helen Qin
2023-03-02 19:52:58 +00:00
committed by Android (Google) Code Review

View File

@@ -39,7 +39,9 @@ fun ModalBottomSheet(
skipHalfExpanded = true skipHalfExpanded = true
) )
ModalBottomSheetLayout( ModalBottomSheetLayout(
sheetBackgroundColor = MaterialTheme.colorScheme.surface, sheetBackgroundColor = MaterialTheme.colorScheme.surfaceColorAtElevation(
ElevationTokens.Level1
),
modifier = Modifier.background(Color.Transparent), modifier = Modifier.background(Color.Transparent),
sheetState = state, sheetState = state,
sheetContent = sheetContent, sheetContent = sheetContent,