Skip to content

Commit

Permalink
Run swift-format
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw authored and actions-user committed Apr 2, 2021
1 parent a486e09 commit 728f7c5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion Sources/AppFeature/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ let appDelegateReducer = Reducer<
case .userNotifications:
return .none


case let .userSettingsLoaded(result):
state = (try? result.get()) ?? state
return .merge(
Expand Down
2 changes: 1 addition & 1 deletion Sources/DailyChallengeFeature/DailyChallengeView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -539,4 +539,4 @@ private struct RingEffect: GeometryEffect {
}
}
}
#endif
#endif
2 changes: 1 addition & 1 deletion Sources/GameFeature/GameFeature.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public let gameFeatureReducer = Reducer<GameFeatureState, GameFeatureAction, Gam
switch action {
case .onDisappear:
return Effect.gameTearDownEffects(audioPlayer: environment.audioPlayer)
.fireAndForget()
.fireAndForget()

case .settings(.onDismiss):
state.game?.isSettingsPresented = false
Expand Down
2 changes: 1 addition & 1 deletion Sources/MultiplayerFeature/PastGamesView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,6 @@ struct PastGamesView: View {
endDate: Date().addingTimeInterval(-1_000_000),
matchId: .init(rawValue: "3"),
opponentDisplayName: "Blob Jr"
)
),
]
#endif
4 changes: 2 additions & 2 deletions Sources/OnboardingFeature/OnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ public let onboardingReducer = Reducer<
return .merge(
environment.audioPlayer.load(AudioPlayerClient.Sound.allCases)
.fireAndForget(),

Effect
.catching { try environment.dictionary.load(.en) }
.subscribe(on: environment.backgroundQueue)
Expand Down Expand Up @@ -375,7 +375,7 @@ public let onboardingReducer = Reducer<
Effect(value: .delegate(.getStarted))
.receive(on: ImmediateScheduler.shared.animation())
.eraseToEffect(),

environment.audioPlayer.play(.uiSfxTap)
.fireAndForget()
)
Expand Down

0 comments on commit 728f7c5

Please sign in to comment.