Adding callbacks on the SelectUsersView

This commit is contained in:
Maxime NATUREL 2023-03-15 15:21:00 +01:00 committed by Florian Renaud
parent f536c6308d
commit d0158c06dc
2 changed files with 15 additions and 6 deletions

View file

@ -71,6 +71,7 @@ fun CreateRoomRootView(
SelectUsersView(
modifier = Modifier.fillMaxWidth(),
state = state.selectUsersState,
onUserSelected = { state.eventSink.invoke(CreateRoomRootEvents.StartDM(it)) },
)
if (!state.selectUsersState.isSearchActive) {