Commit 286f46e7 authored by Leonardo Aramaki's avatar Leonardo Aramaki

Clear spotlight searchView after choosing a room

parent 728616a9
...@@ -151,6 +151,7 @@ public class SidebarMainFragment extends AbstractFragment implements SidebarMain ...@@ -151,6 +151,7 @@ public class SidebarMainFragment extends AbstractFragment implements SidebarMain
adapter.setOnItemClickListener(new RoomListAdapter.OnItemClickListener() { adapter.setOnItemClickListener(new RoomListAdapter.OnItemClickListener() {
@Override @Override
public void onItemClick(RoomSidebar roomSidebar) { public void onItemClick(RoomSidebar roomSidebar) {
searchView.setQuery(null, false);
searchView.clearFocus(); searchView.clearFocus();
presenter.onRoomSelected(roomSidebar); presenter.onRoomSelected(roomSidebar);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment