Skip to content

Commit

Permalink
Merge pull request #36 from kiwicom/result-sharing-fix
Browse files Browse the repository at this point in the history
fix restart of result sharing when new block lambda is used
  • Loading branch information
hrach authored Feb 21, 2023
2 parents 67fe16a + 6a20ecd commit 60cfa8a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public fun <R : Any> ResultEffectImpl(
resultSerializer: KSerializer<R>,
block: (R) -> Unit,
) {
DisposableEffect(navController, block) {
DisposableEffect(navController) {
// The implementation is based on the official documentation of the Result sharing.
// It takes into consideration the possibility of a dialog usage (see the docs).
// https://developer.android.com/guide/navigation/navigation-programmatic#additional_considerations
Expand Down

0 comments on commit 60cfa8a

Please sign in to comment.