Implement enhancement issue #447 (#450)

This commit is contained in:
Moderpach 2023-09-09 19:51:34 +08:00 committed by GitHub
parent a4df98b9ed
commit 3f04c7f007
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -48,12 +48,12 @@ fun BottomBar(
val view = LocalView.current
Surface(
modifier = Modifier.navigationBarsPadding(),
tonalElevation = tonalElevation.value.dp,
) {
// TODO: Component styles await refactoring
Row(
modifier = Modifier
.navigationBarsPadding()
.fillMaxWidth()
.height(60.dp),
horizontalArrangement = Arrangement.SpaceAround,

View File

@ -83,7 +83,7 @@ fun TopBar(
)
}
}, colors = TopAppBarDefaults.smallTopAppBarColors(
containerColor = Color.Transparent,
containerColor = MaterialTheme.colorScheme.surface,
)
)
}