Skip to content

Commit

Permalink
약간 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
juyeong525 committed Feb 22, 2024
1 parent 321ed37 commit 99c812a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 0 additions & 6 deletions Projects/Core/Sources/Steps/Singup/ProFilSignupStep.swift

This file was deleted.

6 changes: 6 additions & 0 deletions Projects/Core/Sources/Steps/Singup/ProfilSignupStep.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import RxFlow

public enum ProfilSignupStep: Step {
case oauthLoginIsRequired
case profilSignupIsRequired
}
4 changes: 2 additions & 2 deletions Projects/Flow/Sources/ProFilSignupFlow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ public final class ProFilSignupFlow: Flow {
}

public func navigate(to step: Step) -> FlowContributors {
guard let step = step as? ProFilSignupStep else { return .none }
guard let step = step as? ProfilSignupStep else { return .none }

switch step {
case .proFilSignupIsRequired:
case .profilSignupIsRequired:
return navigationToProfilSignup()

case .oauthLoginIsRequired:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extension ProfilSignupReactor {
var newState = state
switch mutation {
case .signupSuccess:
steps.accept(ProFilSignupStep.oauthLoginIsRequired)
steps.accept(ProfilSignupStep.oauthLoginIsRequired)
}
return newState
}
Expand Down

0 comments on commit 99c812a

Please sign in to comment.