Alexander Black
08/13/2021, 9:19 PMAlexander Black
08/13/2021, 10:46 PMval heightDp = LocalContext.current.let {
val displayMetrics = it.resources.displayMetrics
displayMetrics.heightPixels / displayMetrics.density
}
BottomSheetScaffold(
// so I'm not sure what this offset is about, but currently this seems to work on my pixel 5
modifier = Modifier.requiredHeight(heightDp.dp).offset(y=-(30).dp),
... more SheetScaffold code
Alexander Black
08/13/2021, 10:47 PMAlexander Black
08/13/2021, 10:56 PM