Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorKabata committed Oct 9, 2023
1 parent 6d32fdf commit 4acf68b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fun HomeScreen(
var activeState by remember { mutableStateOf(false) }

Column(
modifier = Modifier.fillMaxSize(),
modifier = Modifier.fillMaxSize().background(color = MaterialTheme.colorScheme.surface),
horizontalAlignment = Alignment.CenterHorizontally,
verticalArrangement = Arrangement.spacedBy(
space = 6.dp,
Expand All @@ -90,7 +90,7 @@ fun HomeScreen(
) {
//region Search
SearchBar(
modifier = Modifier,
modifier = Modifier.fillMaxWidth(),
query = searchQuery,
onQueryChange = { searchQuery = it },
onSearch = { viewModel.searchMovie(movieName = it) },
Expand Down Expand Up @@ -147,7 +147,6 @@ fun HomeScreen(
Box(
modifier = Modifier
.fillMaxSize()
.background(color = MaterialTheme.colorScheme.surface)
.padding(paddingValues)
) {
if (homeUiState.isLoading) {
Expand Down

0 comments on commit 4acf68b

Please sign in to comment.