Can I use precompose with insetsx together?
NakiriYuuzu opened this issue · comments
Because precompose and insetsx has own controller, but I tried many pattern, iOS part always is white screen.
You can wrap you Content like this:
val holder = remember {
PreComposeWindowHolder()
}
ProvidePreComposeCompositionLocals(
holder,
) {
App()
}
What PreComposeApplication
does is just wrap the content with some composition local that precompose needs.
thank you so much