Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kaich committed Apr 23, 2021
1 parent 275eaef commit 41df579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ let themeService = ThemeType.service(initial: .light)

// Bind stream to a single attribute
// In the way, RxTheme would automatically manage the lifecycle of the binded stream
view.theme.backgroundColor = themeService.attrStream { $0.backgroundColor }
view.theme.backgroundColor = themeService.attribute { $0.backgroundColor }

// Or bind a bunch of attributes, add them to a disposeBag
themeService.rx
Expand Down

0 comments on commit 41df579

Please sign in to comment.