Fix background color for dark theme
This commit is contained in:
parent
611374d800
commit
138c25e5b5
1 changed files with 1 additions and 2 deletions
|
|
@ -56,13 +56,12 @@ class MainActivity : ComponentActivity() {
|
|||
|
||||
@Composable
|
||||
private fun BibLibActivityTheme(
|
||||
background: Color = MaterialTheme.colors.background,
|
||||
content: @Composable () -> Unit,
|
||||
) {
|
||||
BibLibTheme {
|
||||
SystemThemeColor {
|
||||
Surface(
|
||||
color = background,
|
||||
color = MaterialTheme.colors.surface,
|
||||
content = content,
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue