mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
ae9e0cc176
* Remove unused room details hook support Signed-off-by: Daniel Anderson <daniel.anderson@toptal.com> * Update the Enterprise submodule.
19 lines
563 B
Swift
19 lines
563 B
Swift
//
|
|
// Copyright 2026 Element Creations Ltd.
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial.
|
|
// Please see LICENSE files in the repository root for full details.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
nonisolated protocol RoomDetailsScreenHookProtocol: Sendable {
|
|
@MainActor func update(_ viewState: RoomDetailsScreenViewState) -> RoomDetailsScreenViewState
|
|
}
|
|
|
|
struct DefaultRoomDetailsScreenHook: RoomDetailsScreenHookProtocol {
|
|
func update(_ viewState: RoomDetailsScreenViewState) -> RoomDetailsScreenViewState {
|
|
viewState
|
|
}
|
|
}
|