Skip to content

Commit

Permalink
Do not create a new lambda for content if not needed (#2514)
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton authored Dec 19, 2024
1 parent 7af60e8 commit 0e203ab
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,8 @@ private class WidgetRedwoodComposition<W : Any>(
LocalOnBackPressedDispatcher provides onBackPressedDispatcher,
LocalSaveableStateRegistry provides savedStateRegistry,
LocalUiConfiguration provides uiConfiguration,
) {
content()
}
content = content,
)
}
}

Expand Down

0 comments on commit 0e203ab

Please sign in to comment.