diff --git a/extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/panels/ChildPanels.kt b/extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/panels/ChildPanels.kt index a96d018d..eb017d97 100644 --- a/extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/panels/ChildPanels.kt +++ b/extensions-compose-experimental/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/experimental/panels/ChildPanels.kt @@ -320,7 +320,12 @@ private fun DetailsPanel( ) { when (val child = it.instance) { is PanelChild.Panel -> content(child.child) - is PanelChild.Empty -> placeholder() + + is PanelChild.Empty -> { + if (it == EmptyChild3) { + placeholder() + } + } } } }