Lint fix.
This commit is contained in:
parent
a6c88b74a4
commit
fff47b8243
|
@ -61,8 +61,8 @@ class CreatePollFragment @Inject constructor(
|
|||
viewModel.handle(CreatePollAction.OnCreatePoll)
|
||||
}
|
||||
|
||||
viewModel.subscribe(this) {
|
||||
views.createPollButton.isEnabled = it.canCreatePoll
|
||||
viewModel.onEach(CreatePollViewState::canCreatePoll) { canCreatePoll ->
|
||||
views.createPollButton.isEnabled = canCreatePoll
|
||||
}
|
||||
|
||||
viewModel.observeViewEvents {
|
||||
|
|
Loading…
Reference in New Issue