Skip to content

Commit

Permalink
[Fix] #243 - guard let 구문 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Mar 14, 2024
1 parent dc43e1f commit 4e18840
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ final class LogoOnboardingViewModelImpl: LogoOnboardingViewModel {
func transform(input: LogoOnboardingViewModelInput) -> LogoOnboardingViewModelOutput {
input.startButtonTappedSubject
.sink { [weak self] _ in
self?.coodinator?.showSecondOnboardingViewController()
guard let self else { return }
self.coodinator?.showSecondOnboardingViewController()
}
.store(in: &cancelBag)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ final class ValueOnboardingViewModelImpl: ValueOnboardingViewModel {
func transform(input: ValueOnboardingViewModelInput) -> ValueOnboardingViewModelOutput {
input.endAnimationSubject
.sink { [weak self] _ in
self?.coordinator?.showLogoOnboardingViewController()
guard let self else { return }
self.coordinator?.showLogoOnboardingViewController()
}
.store(in: &cancelBag)

Expand Down

0 comments on commit 4e18840

Please sign in to comment.