Lint fix.

This commit is contained in:
Onuray Sahin 2021-11-15 13:26:31 +03:00
parent a6c88b74a4
commit fff47b8243
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ class CreatePollFragment @Inject constructor(
viewModel.handle(CreatePollAction.OnCreatePoll) viewModel.handle(CreatePollAction.OnCreatePoll)
} }
viewModel.subscribe(this) { viewModel.onEach(CreatePollViewState::canCreatePoll) { canCreatePoll ->
views.createPollButton.isEnabled = it.canCreatePoll views.createPollButton.isEnabled = canCreatePoll
} }
viewModel.observeViewEvents { viewModel.observeViewEvents {