Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions workflow-ui/core-common/api/core-common.api
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public final class com/squareup/workflow1/ui/EnvironmentScreen : com/squareup/wo
public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Container;
public fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/EnvironmentScreen;
public synthetic fun map (Lkotlin/jvm/functions/Function1;)Lcom/squareup/workflow1/ui/Wrapper;
public fun toString ()Ljava/lang/String;
}

public final class com/squareup/workflow1/ui/EnvironmentScreenKt {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ public class EnvironmentScreen<out C : Screen>(
) : Wrapper<Screen, C>, Screen {
override fun <D : Screen> map(transform: (C) -> D): EnvironmentScreen<D> =
EnvironmentScreen(transform(content), environment)

override fun toString(): String = "EnvironmentScreen(" +
"content key=${Compatible.keyFor(content)}, " +
"environment=$environment" +
")"
}

/**
Expand Down
Loading