Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6edc6e0d authored by Helen Qin's avatar Helen Qin
Browse files

[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
parent f285d70f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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,