From e7aa69abe8e434ee9e5be38efb06afda2b732f8e Mon Sep 17 00:00:00 2001 From: Ray Ryan Date: Thu, 3 Aug 2023 08:42:43 -0700 Subject: [PATCH] kdoc fix for WorkflowSavedStateRegistryAggregator --- .../ui/androidx/WorkflowSavedStateRegistryAggregator.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistryAggregator.kt b/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistryAggregator.kt index 1f4706e24..6c3576e8b 100644 --- a/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistryAggregator.kt +++ b/workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistryAggregator.kt @@ -199,13 +199,13 @@ public class WorkflowSavedStateRegistryAggregator { * * - if [view] is dropped but may later be replaced with a new instance, as when * pushing and popping a back stack, call [saveAndPruneChildRegistryOwner]. - * This will capture the outgoing view's state, and to stop requesting updates from it. + * This will capture the outgoing view's state, and stop requesting updates from it. * The saved state will be restored to the next [view] passed to * [installChildRegistryOwnerOn] with the same [key] * * - if [view] is dropped and will not be restored, as when a window is closed or - * back stack history is modified, call [prune] _with the keys of the views that - * remain active_. + * back stack history is modified, call [pruneAllChildRegistryOwnersExcept] + * _with the keys of the views that remain active_. * * @param key identifier for the new [SavedStateRegistryOwner], unique across this * [WorkflowSavedStateRegistryAggregator]. Typically this is derived from the