* Introduce a basic StartChatFlowCoordinator. * Move the rest of the start chat flow from the screen coordinator into the flow coordinator. * Add a UI test for the entire start chat flow. * Refactor CreateRoom… to CreateRoomScreen…
19 lines
509 B
Swift
19 lines
509 B
Swift
//
|
|
// Copyright 2025 Element Creations Ltd.
|
|
// Copyright 2022-2025 New Vector Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import Combine
|
|
import Foundation
|
|
|
|
@MainActor
|
|
protocol CreateRoomScreenViewModelProtocol {
|
|
var actions: AnyPublisher<CreateRoomScreenViewModelAction, Never> { get }
|
|
var context: CreateRoomScreenViewModelType.Context { get }
|
|
|
|
func updateAvatar(fileURL: URL)
|
|
}
|