Update ElementX/Sources/Screens/CreateRoom/CreateRoomViewModel.swift

Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
This commit is contained in:
Flescio 2023-05-12 18:42:47 +02:00
parent fb76d062fc
commit 8cfb4c70ce

View File

@ -22,6 +22,7 @@ typealias CreateRoomViewModelType = StateStoreViewModel<CreateRoomViewState, Cre
class CreateRoomViewModel: CreateRoomViewModelType, CreateRoomViewModelProtocol {
private var actionsSubject: PassthroughSubject<CreateRoomViewModelAction, Never> = .init()
private var createRoomParameters: CreateRoomFlowParameters
var actions: AnyPublisher<CreateRoomViewModelAction, Never> {
actionsSubject.eraseToAnyPublisher()
}