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?cah
10/20/2023, 11:53 AMModifier.statusBarsPadding() I get wayyy too much padding, but if I pass Modifier.windowInsetsPadding(WindowInsets.statusBars) I get nonecah
10/20/2023, 11:55 AMstatusBarsPadding() recieving a non zero albeit incorrect window insets?cah
10/20/2023, 11:56 AMcah
10/20/2023, 12:09 PMModalBottomSheet 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?cah
10/26/2023, 3:04 PM