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(
|
||||
LocalSurfaceElevation provides elevation,
|
||||
LocalSurfaceColor provides surfaceElevationColor(elevation.to),
|
||||
LocalHasDetailPane provides true,
|
||||
LocalHasDetailPane provides false,
|
||||
) {
|
||||
PaneLayout(
|
||||
modifier = Modifier
|
||||
|
|
Loading…
Reference in New Issue