Remove hardcoded string

This commit is contained in:
Florian Renaud
2023-04-04 16:21:10 +02:00
parent 2a1da1d405
commit bedadd6c0d
@@ -38,7 +38,7 @@ open class CreateRoomRootStateProvider : PreviewParameterProvider<CreateRoomRoot
} }
), ),
aCreateRoomRootState().copy( aCreateRoomRootState().copy(
startDmAction = Async.Failure(Throwable("An error occurred when trying to start a chat")), startDmAction = Async.Failure(Throwable()),
selectUsersState = aMatrixUser().let { selectUsersState = aMatrixUser().let {
aSelectUsersState().copy( aSelectUsersState().copy(
searchQuery = it.id.value, searchQuery = it.id.value,