Skip to content

Commit

Permalink
Fix background image edge-to-edge feature (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriisurzhykov authored May 31, 2024
2 parents ec9a8c9 + b811945 commit d981533
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal fun LocationDetails(
modifier: Modifier = Modifier
) {
val state: State by viewModel.detailsResponse.collectAsStateWithLifecycle(lifecycleOwner = androidx.compose.ui.platform.LocalLifecycleOwner.current)
BackgroundImage(modifier = modifier.fillMaxSize())
BackgroundImage(modifier = Modifier.fillMaxSize())
if (state != State.None) {
Content(state = state, modifier = modifier.fillMaxSize())
}
Expand Down

0 comments on commit d981533

Please sign in to comment.