diff --git a/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Refactor/OnboardingViewModel_Refactor.swift b/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Refactor/OnboardingViewModel_Refactor.swift index d94391d..2df2948 100644 --- a/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Refactor/OnboardingViewModel_Refactor.swift +++ b/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Refactor/OnboardingViewModel_Refactor.swift @@ -181,6 +181,7 @@ public final class OnboardingViewModel : ObservableObject { private func addOnboardingState() { guard let nextState = OnboardingState(rawValue: state.onboardingState.rawValue + 1) else { return } state.onboardingState = nextState + if nextState.rawValue <= 2 { state.surveyState = nextState.rawValue } diff --git a/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/Common/PickerView.swift b/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/Common/PickerView.swift index 0bc83b3..2183135 100644 --- a/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/Common/PickerView.swift +++ b/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/Common/PickerView.swift @@ -56,7 +56,7 @@ class PickerCoordinator: NSObject, UIPickerViewDelegate, UIPickerViewDataSource func pickerView(_ pickerView: UIPickerView, attributedTitleForRow row: Int, forComponent component: Int) -> NSAttributedString? { let time = UIColor(DSKitAsset.whiteText.swiftUIColor) - let font = UIFont(name: "Pretendard-Medium", size: 22) + let font = DSKitFontFamily.Pretendard.medium.font(size: 22) let attributes: [NSAttributedString.Key: Any] = [ diff --git a/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/OnboardingContentView.swift b/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/OnboardingContentView.swift index dbe3efb..fc657f2 100644 --- a/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/OnboardingContentView.swift +++ b/HMH_Tuist_iOS/Projects/Features/OnboardingFeature/Sources/Views/OnboardingContentView.swift @@ -133,7 +133,7 @@ extension OnboardingContentView { .cornerRadius(1.0) Rectangle() .foregroundColor(DSKitAsset.bluePurpleLine.swiftUIColor) - .frame(width: CGFloat(onboardingViewModel.state.onboardingState.rawValue) / CGFloat(6) * 334, height: 4) + .frame(width: CGFloat(onboardingViewModel.state.onboardingState.rawValue) / CGFloat(5) * 334, height: 4) .cornerRadius(10.0) .animation(Animation.spring(duration: 0.5), value: onboardingViewModel.state.onboardingState) }