Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Jan 6, 2023
1 parent 41bcdd7 commit 0dd1abb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class SharedSecureStorageActivity :

views.toolbar.visibility = View.GONE

viewModel.observeViewEvents { observeViewEvents(it) }
viewModel.observeViewEvents { onViewEvents(it) }

viewModel.onEach { renderState(it) }
}
Expand All @@ -85,7 +85,7 @@ class SharedSecureStorageActivity :
showFragment(fragment)
}

private fun observeViewEvents(it: SharedSecureStorageViewEvent?) {
private fun onViewEvents(it: SharedSecureStorageViewEvent) {
when (it) {
is SharedSecureStorageViewEvent.Dismiss -> {
finish()
Expand Down

0 comments on commit 0dd1abb

Please sign in to comment.