mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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.
This commit is contained in:
@@ -5,19 +5,14 @@
|
||||
// Please see LICENSE files in the repository root for full details.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import Foundation
|
||||
|
||||
nonisolated protocol RoomDetailsScreenHookProtocol: Sendable {
|
||||
@MainActor func update(_ viewState: RoomDetailsScreenViewState) -> RoomDetailsScreenViewState
|
||||
@MainActor func additionalSections() -> AnyView?
|
||||
}
|
||||
|
||||
struct DefaultRoomDetailsScreenHook: RoomDetailsScreenHookProtocol {
|
||||
func update(_ viewState: RoomDetailsScreenViewState) -> RoomDetailsScreenViewState {
|
||||
viewState
|
||||
}
|
||||
|
||||
func additionalSections() -> AnyView? {
|
||||
nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user