mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Lint fix.
This commit is contained in:
parent
a6c88b74a4
commit
fff47b8243
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue