Skip to content

Commit

Permalink
Tweak background color
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibi19 committed Mar 16, 2023
1 parent 4ce778d commit c54e326
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
package com.tam.tesbooks.presentation.screen.library

import androidx.compose.foundation.background
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
import androidx.compose.material.MaterialTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
Expand All @@ -21,7 +23,9 @@ fun LibraryScreen(
OnErrorEffect(errorFlow = libraryViewModel.errorFlow)

LazyColumn(
modifier = Modifier.fillMaxSize()
modifier = Modifier
.background(MaterialTheme.colors.secondaryVariant)
.fillMaxSize()
) {
item {
LibrarySearchBar(libraryViewModel)
Expand Down

0 comments on commit c54e326

Please sign in to comment.