cah
10/20/2023, 11:25 AMModalBottomSheet
and window inset consumption
I have a single activity application which does not set setDecorFitsDystemWindow
to false
and so the insets are consumed
Within this activity I have a ModalBottomSheet
which I don’t want to overlap with status bar but all the returned WindowInsets
are now zero
What is the recommended approach in this case?Modifier.statusBarsPadding()
I get wayyy too much padding, but if I pass Modifier.windowInsetsPadding(WindowInsets.statusBars)
I get nonestatusBarsPadding()
recieving a non zero albeit incorrect window insets?ModalBottomSheet
is called within a ui that has already consumed WindowInsets
why does it go edge to edge if I set it to fillMaxSize
? Is the ModalBottomSheet
in a different window?