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 Mar 17, 2021
1 parent cd350f5 commit 72c5692
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/OnboardingFeature/OnboardingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public let onboardingReducer = Reducer<
.game(.wordSubmitButton(.delegate(.confirmSubmit))):
switch state.step {
case .step5_Submit where state.game.selectedWordString == "GAME",
.step8_FindCubes where state.game.selectedWordString == "CUBE",
.step8_FindCubes where state.game.selectedWordString == "CUBE",
.step12_CubeIsShaking where state.game.selectedWordString.isRemove,
.step16_FindAnyWord where environment.dictionary.contains(state.game.selectedWordString, .en):

Expand Down Expand Up @@ -398,11 +398,11 @@ public let onboardingReducer = Reducer<
.onChange(of: \.game.selectedWordString) { selectedWord, state, _, _ in
switch state.step {
case .step4_FindGame where selectedWord == "GAME",
.step11_FindRemove where selectedWord.isRemove:
.step11_FindRemove where selectedWord.isRemove:
state.step.next()
return .none
case .step5_Submit where selectedWord != "GAME",
.step12_CubeIsShaking where !selectedWord.isRemove:
.step12_CubeIsShaking where !selectedWord.isRemove:
state.step.previous()
return .none
default:
Expand Down

0 comments on commit 72c5692

Please sign in to comment.