From 99c812a02fce7ac9ecb577ad86523df89d22b5ed Mon Sep 17 00:00:00 2001 From: juyeongno1 Date: Thu, 22 Feb 2024 21:17:02 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=BD=EA=B0=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Projects/Core/Sources/Steps/Singup/ProFilSignupStep.swift | 6 ------ Projects/Core/Sources/Steps/Singup/ProfilSignupStep.swift | 6 ++++++ Projects/Flow/Sources/ProFilSignupFlow.swift | 4 ++-- .../Auth/Signup/ProfilSignup/ProfilSignupReactor.swift | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 Projects/Core/Sources/Steps/Singup/ProFilSignupStep.swift create mode 100644 Projects/Core/Sources/Steps/Singup/ProfilSignupStep.swift 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 }