mirror of
https://github.com/fromchat-messenger/app.git
synced 2026-11-17 03:11:40 +03:00
fix contacts and settings background on desktop
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user