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
|
@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,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue