mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:31:27 +00:00
Run SwiftFormat.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ final class RoomDirectorySearchScreenCoordinator: CoordinatorProtocol {
|
||||
}
|
||||
.store(in: &cancellables)
|
||||
}
|
||||
|
||||
|
||||
func toPresentable() -> AnyView {
|
||||
AnyView(RoomDirectorySearchScreen(context: viewModel.context))
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ class RoomDirectorySearchScreenViewModel: RoomDirectorySearchScreenViewModelType
|
||||
var actionsPublisher: AnyPublisher<RoomDirectorySearchScreenViewModelAction, Never> {
|
||||
actionsSubject.eraseToAnyPublisher()
|
||||
}
|
||||
|
||||
|
||||
init(userSession: UserSessionProtocol,
|
||||
userIndicatorController: UserIndicatorControllerProtocol) {
|
||||
roomDirectorySearchProxy = userSession.clientProxy.roomDirectorySearchProxy()
|
||||
|
||||
@@ -13,7 +13,7 @@ struct RoomDirectorySearchCell: View {
|
||||
let result: RoomDirectorySearchResult
|
||||
let mediaProvider: MediaProviderProtocol?
|
||||
let joinAction: () -> Void
|
||||
|
||||
|
||||
private var description: String? {
|
||||
if let topic = result.topic {
|
||||
return topic
|
||||
@@ -27,7 +27,7 @@ struct RoomDirectorySearchCell: View {
|
||||
|
||||
return result.id
|
||||
}
|
||||
|
||||
|
||||
var body: some View {
|
||||
ListRow(label: .avatar(title: result.name ?? result.alias ?? result.id,
|
||||
description: description,
|
||||
|
||||
Reference in New Issue
Block a user