Skip to content

Commit

Permalink
mark result APIs as internal & published
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jun 12, 2023
1 parent 094df52 commit c195981
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ public inline fun <T : ResultDestination<R>, reified R : Any> DialogResultEffect
* Implementation of ResultEffect. Use [ComposableResultEffect] or [DialogResultEffect] directly.
*/
@ExperimentalSerializationApi
@PublishedApi
@Composable
public fun <R : Any> ResultEffectImpl(
internal fun <R : Any> ResultEffectImpl(
navController: NavController,
currentRoute: String,
resultSerializer: KSerializer<R>,
Expand Down Expand Up @@ -114,7 +115,8 @@ public inline fun <T : ResultDestination<R>, reified R : Any> NavController.setR
}

@ExperimentalSerializationApi
public fun <R : Any> NavController.setResultImpl(
@PublishedApi
internal fun <R : Any> NavController.setResultImpl(
serializer: KSerializer<R>,
data: R,
) {
Expand Down

0 comments on commit c195981

Please sign in to comment.