Skip to content

Commit

Permalink
fix: Fix typo in README
Browse files Browse the repository at this point in the history
  • Loading branch information
haroldadmin committed Jun 4, 2019
1 parent 4634d9b commit 0859990
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 @@ -47,7 +47,7 @@ class MyFragment: VectorFragment() {
override fun onActivityCreated(savedInstanceState: Bundle?) {
super.onActivityCreated(savedInstanceState)

myViewModel.state.observer(viewLifecycleOwner, Observer { renderState() })
myViewModel.state.observe(viewLifecycleOwner, Observer { renderState() })
}

override fun renderState = withState(myViewModel) { state ->
Expand Down

0 comments on commit 0859990

Please sign in to comment.