Fix background color for dark theme

This commit is contained in:
Thomas Andres Gomez 2022-07-19 11:21:10 +02:00
parent 611374d800
commit 138c25e5b5

View file

@ -56,13 +56,12 @@ class MainActivity : ComponentActivity() {
@Composable @Composable
private fun BibLibActivityTheme( private fun BibLibActivityTheme(
background: Color = MaterialTheme.colors.background,
content: @Composable () -> Unit, content: @Composable () -> Unit,
) { ) {
BibLibTheme { BibLibTheme {
SystemThemeColor { SystemThemeColor {
Surface( Surface(
color = background, color = MaterialTheme.colors.surface,
content = content, content = content,
) )
} }