Anybody who encountered issue with BottomSheetScaffold error when sheet content is empty there is a workaround for it.
If we pass a composable with minimum height
Copy code
else {
Box(Modifier.height(Dp.Hairline))
}
it won't crash.
rsktash
11/08/2021, 3:07 AM
Dp.Hairline seems to be won't work for this workaround. I ended up giving a 1.dp size