mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user