Skip to content

Commit 49141b4

Browse files
Fix ktlint
1 parent 51bf2b0 commit 49141b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

workflow-ui/compose/src/main/java/com/squareup/workflow1/ui/compose/TextControllerAsMutableState.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ import kotlinx.coroutines.launch
3434
imports = arrayOf("com.squareup.workflow1.ui.compose.asMutableTextFieldValueState()"),
3535
)
3636
)
37-
@Composable public fun TextController.asMutableState(): MutableState<String> {
37+
@Composable
38+
public fun TextController.asMutableState(): MutableState<String> {
3839
// keys are set to `this` to reset the state if a different controller is passed in…
3940
return remember(this) { mutableStateOf(textValue) }.also { state ->
4041
// …and to restart the effect.

0 commit comments

Comments
 (0)