diff --git a/ios/Approach/Sources/BowlerDetailsFeature/BowlerDetails.swift b/ios/Approach/Sources/BowlerDetailsFeature/BowlerDetails.swift index 4f88caa18..4e6cf4d1c 100644 --- a/ios/Approach/Sources/BowlerDetailsFeature/BowlerDetails.swift +++ b/ios/Approach/Sources/BowlerDetailsFeature/BowlerDetails.swift @@ -51,7 +51,7 @@ public struct BowlerDetails: Reducer { LeaguesSection() } - Reduce { state, action in + Reduce { _, action in switch action { case let .view(viewAction): switch viewAction { diff --git a/ios/Approach/Sources/BowlerDetailsFeature/Header/BowlerDetailsHeader.swift b/ios/Approach/Sources/BowlerDetailsFeature/Header/BowlerDetailsHeader.swift index d75281bc2..3070b838f 100644 --- a/ios/Approach/Sources/BowlerDetailsFeature/Header/BowlerDetailsHeader.swift +++ b/ios/Approach/Sources/BowlerDetailsFeature/Header/BowlerDetailsHeader.swift @@ -43,7 +43,7 @@ public struct BowlerDetailsHeader: Reducer { public init() {} public var body: some ReducerOf { - Reduce { state, action in + Reduce { _, action in switch action { case let .view(viewAction): switch viewAction { diff --git a/ios/Approach/Sources/BowlerDetailsFeature/Leagues/LeaguesSection.swift b/ios/Approach/Sources/BowlerDetailsFeature/Leagues/LeaguesSection.swift index 5663b3428..1e6b49f6a 100644 --- a/ios/Approach/Sources/BowlerDetailsFeature/Leagues/LeaguesSection.swift +++ b/ios/Approach/Sources/BowlerDetailsFeature/Leagues/LeaguesSection.swift @@ -127,13 +127,13 @@ public struct LeaguesSection: Reducer { state.destination = .editor(LeagueEditor.State(value: .edit(league))) return recentlyUsed.didRecentlyUse(.leagues, id: league.id, in: self) - case let .didLoadLeagues(.failure(error)): + case .didLoadLeagues(.failure): // TODO: handle error return .none - case let .didLoadLeagueToView(.failure(error)), - let .didLoadEventSeriesToView(.failure(error)), - let .didLoadLeagueForEdits(.failure(error)): + case .didLoadLeagueToView(.failure), + .didLoadEventSeriesToView(.failure), + .didLoadLeagueForEdits(.failure): // TODO: handle error return .none diff --git a/ios/Approach/Sources/ImportExportFeature/Import.swift b/ios/Approach/Sources/ImportExportFeature/Import.swift index 4b184822e..e373e33c6 100644 --- a/ios/Approach/Sources/ImportExportFeature/Import.swift +++ b/ios/Approach/Sources/ImportExportFeature/Import.swift @@ -3,8 +3,8 @@ import AssetsLibrary import ComposableArchitecture import DateTimeLibrary import EquatablePackageLibrary -import ErrorsFeature import ErrorReportingClientPackageLibrary +import ErrorsFeature import FeatureActionLibrary import Foundation import ImportExportServiceInterface diff --git a/ios/Approach/Sources/SettingsFeature/Settings.swift b/ios/Approach/Sources/SettingsFeature/Settings.swift index 14a0ae3c3..c87fbeb1a 100644 --- a/ios/Approach/Sources/SettingsFeature/Settings.swift +++ b/ios/Approach/Sources/SettingsFeature/Settings.swift @@ -228,28 +228,14 @@ public struct Settings: Reducer { state.isLoadingAppIcon = false return .none - case .destination(.presented(.archive(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.featureFlags(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.opponentsList(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.statistics(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.appIcon(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.analytics(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.export(.delegate(.doNothing)))): - return .none - - case .destination(.presented(.import(.delegate(.doNothing)))): + case .destination(.presented(.archive(.delegate(.doNothing)))), + .destination(.presented(.featureFlags(.delegate(.doNothing)))), + .destination(.presented(.opponentsList(.delegate(.doNothing)))), + .destination(.presented(.statistics(.delegate(.doNothing)))), + .destination(.presented(.appIcon(.delegate(.doNothing)))), + .destination(.presented(.analytics(.delegate(.doNothing)))), + .destination(.presented(.export(.delegate(.doNothing)))), + .destination(.presented(.import(.delegate(.doNothing)))): return .none case .destination(.dismiss):