fix contacts and settings background on desktop

This commit is contained in:
2026-10-16 18:10:15 +03:00
Unverified
parent c11cf7fb7c
commit ac5ee1f12c
@@ -231,7 +231,15 @@ fun MainScreen(
Box(
modifier = Modifier
.fillMaxSize()
.background(MaterialTheme.colorScheme.surface)
.background(
// List–detail panes sit on AppPanel (`surfaceContainerLowest`); compact
// full-screen pager uses `surface`.
if (embeddedInListDetail) {
MaterialTheme.colorScheme.surfaceContainerLowest
} else {
MaterialTheme.colorScheme.surface
},
)
.hazeSource(contextMenuHazeState),
) {
Scaffold(