Files
element-x-ios/ElementX/Sources/AppHooks/Hooks/RoomDetailsScreenHook.swift
Danny ae9e0cc176 Remove unused room details hook support (#6325)
* Remove unused room details hook support

Signed-off-by: Daniel Anderson <daniel.anderson@toptal.com>

* Update the Enterprise submodule.
2026-10-13 16:19:45 +00:00

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
}
}