Fix compilation issue after merge

This commit is contained in:
Benoit Marty 2019-07-17 14:58:23 +02:00
parent 90d25ff45e
commit 77fa5af1b8

View File

@ -144,9 +144,9 @@ class PublicRoomsFragment : VectorBaseFragment(), PublicRoomsController.Callback
} }


override fun invalidate() = withState(viewModel) { state -> override fun invalidate() = withState(viewModel) { state ->
if (publicRoomsFilter.text.toString() != state.currentFilter) { if (publicRoomsFilter.query.toString() != state.currentFilter) {
// For initial filter // For initial filter
publicRoomsFilter.setText(state.currentFilter) publicRoomsFilter.setQuery(state.currentFilter, false)
} }


// Populate list with Epoxy // Populate list with Epoxy