Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Claire1817 committed Mar 16, 2022
1 parent 5787f4a commit 7b9e20a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,8 +309,8 @@ class RoomListFragment @Inject constructor(

roomListViewModel.handle(RoomListAction.FilterWith(filter))
}
private fun resetFilter() = withState(roomListViewModel) { state ->

private fun resetFilter() = withState(roomListViewModel) { state ->
if (state.roomFilter.isNotEmpty()) {
filterRoomsWith("")
}
Expand Down

0 comments on commit 7b9e20a

Please sign in to comment.