Chris Fillmore
01/27/2023, 4:44 PMbottomSheet
destinations
How can I hide the bottom sheet when I go into PiP? I don’t really want to dismiss the bottom sheet, since I want to resume at full screen with the same back stack. Any ideas?Chris Fillmore
01/27/2023, 4:46 PM@Composable
fun MyApp() {
ModalBottomSheetLayout {
NavHost {
composable("MAIN") {
// CAMERA PREVIEW LIVES HERE
}
bottomSheet("MY_SHEET") {
...
}
}
}
}
Chris Fillmore
01/27/2023, 4:52 PM