Skip to content

Commit

Permalink
Merge pull request #815 from arkivanov/fix-details-panel-placeholder
Browse files Browse the repository at this point in the history
Fixed details panel placeholder showing in SINGLE mode
  • Loading branch information
arkivanov authored Dec 3, 2024
2 parents 8387e01 + 20b36ba commit ccd1ce6
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 ccd1ce6

Please sign in to comment.