Last active
March 16, 2022 18:33
-
-
Save akitikkx/7a422e2b5f5bc208a9d6b355941e80c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ExperimentalMaterialApi | |
@Composable | |
fun ShowDetailScreen( | |
viewModel: ShowDetailViewModel = hiltViewModel(), | |
... | |
) { | |
... | |
ModalBottomSheetLayout( // <---- This was Surface | |
sheetState = modalBottomSheetState, | |
sheetContent = { | |
Surface( | |
Modifier | |
.fillMaxWidth() | |
) { | |
ShowCastBottomSheetItem(showCast = selectedCastMemberState.value) | |
} | |
}, | |
scrimColor = Color.Black.copy(alpha = 0.32f) | |
) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment