Skip to content

Commit

Permalink
[Del] #243 - 불필요한 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Mar 20, 2024
1 parent 1fcfc2d commit d12321c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ final class FifthOnboardingViewModelImpl: FifthOnboardingViewModel {
.store(in: &cancelBag)

input.viewDidLoadSubject
.sink { [weak self] _ in
guard let self else { return }
.sink {
AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Onboarding.viewOnboarding5)
}
.store(in: &cancelBag)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ final class FourthOnboardingViewModelImpl: FourthOnboardingViewModel {
.store(in: &cancelBag)

input.viewDidLoadSubject
.sink { [weak self] _ in
guard let self else { return }
.sink {
AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Onboarding.viewOnboarding4)
}
.store(in: &cancelBag)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ final class SecondOnboardingViewModelImpl: SecondOnboardingViewModel {
.store(in: &cancelBag)

input.viewDidLoadSubject
.sink { [weak self] _ in
guard let self else { return }
.sink {
AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Onboarding.viewOnboarding2)
}
.store(in: &cancelBag)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ final class ThirdOnboardingViewModelImpl: ThirdOnboardingViewModel {
.store(in: &cancelBag)

input.viewDidLoadSubject
.sink { [weak self] _ in
guard let self else { return }
.sink {
AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Onboarding.viewOnboarding3)
}
.store(in: &cancelBag)
Expand Down

0 comments on commit d12321c

Please sign in to comment.