Add test for RoomListEvents.ToggleSearchResults.
This commit is contained in:
parent
d3dbb13b3f
commit
a48e87a0bf
2 changed files with 38 additions and 1 deletions
|
|
@ -38,9 +38,10 @@ fun aRoomListSearchState(
|
|||
isSearchActive: Boolean = false,
|
||||
query: String = "",
|
||||
results: ImmutableList<RoomListRoomSummary> = persistentListOf(),
|
||||
eventSink: (RoomListSearchEvents) -> Unit = { },
|
||||
) = RoomListSearchState(
|
||||
isSearchActive = isSearchActive,
|
||||
query = query,
|
||||
results = results,
|
||||
eventSink = { },
|
||||
eventSink = eventSink,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue