Lint fix.
This commit is contained in:
parent
a6c88b74a4
commit
fff47b8243
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue