fix: In a single-pane layout when you select an item it should not get the selected background color

This commit is contained in:
Artem Chepurnoy 2024-02-13 17:36:28 +02:00
parent f02cac1ca1
commit e8bd9b2e74
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 1 additions and 1 deletions

View File

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