I have two screens: 1. Main screen as a `Scaffold...
# compose
l
I have two screens: 1. Main screen as a
Scaffold
with a
bottomBar
and Compose Navigation 2. Detail screen (which is navigated to from the main screen) as a
BottomSheetScaffold
to show bottom sheet How do I navigate between these two `...Scaffold`s? Currently the
BottomSheetScaffold
is being opened using Compose Navigation in the
content
lambda of the main
Scaffold
, which leads to the
BottomSheetScaffold
getting additional bottom padding (from both scaffolds).
j
I would nest the
Scaffold
inside of the
BottomSheetScaffold
. Use a lambda function to allow children screens to show and hide the BottomSheet.
l
Thank you!