Skip to content

Commit 306d82f

Browse files
committed
[REFACTOR/#97] 코드리뷰 반영
1 parent 5caa587 commit 306d82f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

feature/onboarding/src/main/java/com/kms/onboarding/OnboardingViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ class OnboardingViewModel @Inject constructor(
145145
private fun updateBirthDate(lunar: String, year: Int, month: Int, day: Int) {
146146
val formattedDate = "$year-${month.toString().padStart(2, '0')}-${day.toString().padStart(2, '0')}"
147147

148-
if (container.stateFlow.value.birthDate == formattedDate && container.stateFlow.value.birthType == lunar) {
148+
if (currentState.birthDate == formattedDate && currentState.birthType == lunar) {
149149
return
150150
}
151151
hapticFeedbackManager.performHapticFeedback(HapticType.LIGHT_TICK)

0 commit comments

Comments
 (0)