Skip to content

Commit b620bf3

Browse files
committed
Update Readme.md
1 parent 85d667c commit b620bf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ You have to pass a `workFactory` that takes input and returns an `Observable`. T
2323
Actions can only execute one thing at a time. If you try to execute an action that's currently executing, you'll get an error. The `executing` property sends `true` and `false` values as `Next` events.
2424

2525
```swift
26-
action = Action<String, Bool> = Action(workFactory: { input in
26+
action: Action<String, Bool> = Action(workFactory: { input in
2727
return networkLibrary.checkEmailExists(input)
2828
})
2929

@@ -39,7 +39,7 @@ You can also specify an `enabledIf` parameter to the `Action` initializer.
3939
```swift
4040
let validEmailAddress = emailTextField.rx_text.map(isValidEmail)
4141

42-
action = Action<String, Bool> = Action(enabledIf: validEmailAddress, workFactory: { input in
42+
action: Action<String, Bool> = Action(enabledIf: validEmailAddress, workFactory: { input in
4343
return networkLibrary.checkEmailExists(input)
4444
})
4545
```

0 commit comments

Comments
 (0)