Skip to content

Commit

Permalink
Apply changes from ktLintFormat
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
rjrjr authored and github-actions[bot] committed Sep 24, 2024
1 parent c234d37 commit 189207d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import com.squareup.workflow1.WorkflowAction.Companion.toString
import kotlinx.coroutines.CoroutineScope
import kotlin.jvm.JvmMultifileClass
import kotlin.jvm.JvmName
import kotlin.reflect.KClass
import kotlin.reflect.safeCast

/**
Expand Down Expand Up @@ -82,7 +81,7 @@ public abstract class StatefulWorkflow<
crossinline update:
WorkflowAction<@UnsafeVariance PropsT, StateT, @UnsafeVariance OutputT>.Updater.(
currentState: CurrentStateT
) -> Unit
) -> Unit
): () -> Unit {
return eventHandler({ name }) {
CurrentStateT::class.safeCast(state)?.let { this.update(it) }
Expand Down

0 comments on commit 189207d

Please sign in to comment.