fix: In a single-pane layout when you select an item it should not get the selected background color
This commit is contained in:
parent
f02cac1ca1
commit
e8bd9b2e74
@ -163,7 +163,7 @@ fun TwoPaneScaffoldScope.TwoPaneLayout(
|
|||||||
CompositionLocalProvider(
|
CompositionLocalProvider(
|
||||||
LocalSurfaceElevation provides elevation,
|
LocalSurfaceElevation provides elevation,
|
||||||
LocalSurfaceColor provides surfaceElevationColor(elevation.to),
|
LocalSurfaceColor provides surfaceElevationColor(elevation.to),
|
||||||
LocalHasDetailPane provides true,
|
LocalHasDetailPane provides false,
|
||||||
) {
|
) {
|
||||||
PaneLayout(
|
PaneLayout(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
|
Loading…
x
Reference in New Issue
Block a user