diff --git a/Projects/Core/Sources/Steps/Singup/ProFilSignupStep.swift b/Projects/Core/Sources/Steps/Singup/ProFilSignupStep.swift deleted file mode 100644 index b82e37a..0000000 --- a/Projects/Core/Sources/Steps/Singup/ProFilSignupStep.swift +++ /dev/null @@ -1,6 +0,0 @@ -import RxFlow - -public enum ProFilSignupStep: Step { - case oauthLoginIsRequired - case proFilSignupIsRequired -} diff --git a/Projects/Core/Sources/Steps/Singup/ProfilSignupStep.swift b/Projects/Core/Sources/Steps/Singup/ProfilSignupStep.swift new file mode 100644 index 0000000..9d9ccb9 --- /dev/null +++ b/Projects/Core/Sources/Steps/Singup/ProfilSignupStep.swift @@ -0,0 +1,6 @@ +import RxFlow + +public enum ProfilSignupStep: Step { + case oauthLoginIsRequired + case profilSignupIsRequired +} diff --git a/Projects/Flow/Sources/ProFilSignupFlow.swift b/Projects/Flow/Sources/ProFilSignupFlow.swift index ae84753..d06a68d 100644 --- a/Projects/Flow/Sources/ProFilSignupFlow.swift +++ b/Projects/Flow/Sources/ProFilSignupFlow.swift @@ -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: diff --git a/Projects/Presentation/Sources/Auth/Signup/ProfilSignup/ProfilSignupReactor.swift b/Projects/Presentation/Sources/Auth/Signup/ProfilSignup/ProfilSignupReactor.swift index 8cd8fa5..31b2914 100644 --- a/Projects/Presentation/Sources/Auth/Signup/ProfilSignup/ProfilSignupReactor.swift +++ b/Projects/Presentation/Sources/Auth/Signup/ProfilSignup/ProfilSignupReactor.swift @@ -34,7 +34,7 @@ extension ProfilSignupReactor { var newState = state switch mutation { case .signupSuccess: - steps.accept(ProFilSignupStep.oauthLoginIsRequired) + steps.accept(ProfilSignupStep.oauthLoginIsRequired) } return newState }