Skip to content

Commit ac33e26

Browse files
authored
Merge pull request #1094 from square/ray/kdoc
kdoc fix for WorkflowSavedStateRegistryAggregator
2 parents 551ee52 + e7aa69a commit ac33e26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/androidx/WorkflowSavedStateRegistryAggregator.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,13 @@ public class WorkflowSavedStateRegistryAggregator {
199199
*
200200
* - if [view] is dropped but may later be replaced with a new instance, as when
201201
* pushing and popping a back stack, call [saveAndPruneChildRegistryOwner].
202-
* This will capture the outgoing view's state, and to stop requesting updates from it.
202+
* This will capture the outgoing view's state, and stop requesting updates from it.
203203
* The saved state will be restored to the next [view] passed to
204204
* [installChildRegistryOwnerOn] with the same [key]
205205
*
206206
* - if [view] is dropped and will not be restored, as when a window is closed or
207-
* back stack history is modified, call [prune] _with the keys of the views that
208-
* remain active_.
207+
* back stack history is modified, call [pruneAllChildRegistryOwnersExcept]
208+
* _with the keys of the views that remain active_.
209209
*
210210
* @param key identifier for the new [SavedStateRegistryOwner], unique across this
211211
* [WorkflowSavedStateRegistryAggregator]. Typically this is derived from the

0 commit comments

Comments
 (0)