From 77fa5af1b808c372d51a26536b5cc482082e8d11 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 17 Jul 2019 14:58:23 +0200 Subject: [PATCH] Fix compilation issue after merge --- .../riotx/features/roomdirectory/PublicRoomsFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vector/src/main/java/im/vector/riotx/features/roomdirectory/PublicRoomsFragment.kt b/vector/src/main/java/im/vector/riotx/features/roomdirectory/PublicRoomsFragment.kt index f072b1f451..32cd673273 100644 --- a/vector/src/main/java/im/vector/riotx/features/roomdirectory/PublicRoomsFragment.kt +++ b/vector/src/main/java/im/vector/riotx/features/roomdirectory/PublicRoomsFragment.kt @@ -144,9 +144,9 @@ class PublicRoomsFragment : VectorBaseFragment(), PublicRoomsController.Callback } override fun invalidate() = withState(viewModel) { state -> - if (publicRoomsFilter.text.toString() != state.currentFilter) { + if (publicRoomsFilter.query.toString() != state.currentFilter) { // For initial filter - publicRoomsFilter.setText(state.currentFilter) + publicRoomsFilter.setQuery(state.currentFilter, false) } // Populate list with Epoxy