mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update ElementX/Sources/Screens/CreateRoom/CreateRoomViewModel.swift
Co-authored-by: Alfonso Grillo <alfogrillo@gmail.com>
This commit is contained in:
@@ -22,6 +22,7 @@ typealias CreateRoomViewModelType = StateStoreViewModel<CreateRoomViewState, Cre
|
|||||||
class CreateRoomViewModel: CreateRoomViewModelType, CreateRoomViewModelProtocol {
|
class CreateRoomViewModel: CreateRoomViewModelType, CreateRoomViewModelProtocol {
|
||||||
private var actionsSubject: PassthroughSubject<CreateRoomViewModelAction, Never> = .init()
|
private var actionsSubject: PassthroughSubject<CreateRoomViewModelAction, Never> = .init()
|
||||||
private var createRoomParameters: CreateRoomFlowParameters
|
private var createRoomParameters: CreateRoomFlowParameters
|
||||||
|
|
||||||
var actions: AnyPublisher<CreateRoomViewModelAction, Never> {
|
var actions: AnyPublisher<CreateRoomViewModelAction, Never> {
|
||||||
actionsSubject.eraseToAnyPublisher()
|
actionsSubject.eraseToAnyPublisher()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user