Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent fe189fcfed
commit 23062901c0
343 changed files with 1502 additions and 1048 deletions
@@ -13,5 +13,7 @@ protocol AppSettingsHookProtocol {
}
struct DefaultAppSettingsHook: AppSettingsHookProtocol {
func configure(_ appSettings: AppSettings) -> AppSettings { appSettings }
func configure(_ appSettings: AppSettings) -> AppSettings {
appSettings
}
}
@@ -13,5 +13,7 @@ protocol BugReportHookProtocol {
}
struct DefaultBugReportHook: BugReportHookProtocol {
func update(_ bugReport: BugReport) -> BugReport { bugReport }
func update(_ bugReport: BugReport) -> BugReport {
bugReport
}
}
@@ -13,5 +13,7 @@ protocol ClientBuilderHookProtocol {
}
struct DefaultClientBuilderHook: ClientBuilderHookProtocol {
func configure(_ builder: ClientBuilder) -> ClientBuilder { builder }
func configure(_ builder: ClientBuilder) -> ClientBuilder {
builder
}
}
@@ -12,5 +12,7 @@ protocol DeveloperOptionsScreenHookProtocol {
}
struct DefaultDeveloperOptionsScreenHook: DeveloperOptionsScreenHookProtocol {
func generalSectionRows() -> AnyView? { nil }
func generalSectionRows() -> AnyView? {
nil
}
}
@@ -15,5 +15,7 @@ protocol RoomScreenHookProtocol {
struct DefaultRoomScreenHook: RoomScreenHookProtocol {
func configure(with userSession: UserSessionProtocol?) async { }
func update(_ viewState: RoomScreenViewState) -> RoomScreenViewState { viewState }
func update(_ viewState: RoomScreenViewState) -> RoomScreenViewState {
viewState
}
}