Skip to content

Commit

Permalink
Fixed details panel placeholder showing in SINGLE mode
Browse files Browse the repository at this point in the history
  • Loading branch information
arkivanov committed Dec 3, 2024
1 parent 8387e01 commit 20b36ba
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,12 @@ private fun <DC : Any, DT : Any> DetailsPanel(
) {
when (val child = it.instance) {
is PanelChild.Panel -> content(child.child)
is PanelChild.Empty -> placeholder()

is PanelChild.Empty -> {
if (it == EmptyChild3) {
placeholder()
}
}
}
}
}
Expand Down

0 comments on commit 20b36ba

Please sign in to comment.