diff --git a/feature/auth/src/main/java/com/puzzle/auth/graph/signup/contract/SignUpState.kt b/feature/auth/src/main/java/com/puzzle/auth/graph/signup/contract/SignUpState.kt index 175dd2ac..c3b34766 100644 --- a/feature/auth/src/main/java/com/puzzle/auth/graph/signup/contract/SignUpState.kt +++ b/feature/auth/src/main/java/com/puzzle/auth/graph/signup/contract/SignUpState.kt @@ -8,7 +8,8 @@ data class SignUpState( val termsCheckedInfo: Map = emptyMap(), val signUpPage: SignUpPage = SignUpPage.TermPage, ) : MavericksState { - val areAllTermsAgreed = terms.all { termsCheckedInfo.getOrDefault(it.id, false) } + val areAllTermsAgreed = terms.filter { it.required } + .all { termsCheckedInfo.getOrDefault(it.id, false) } enum class SignUpPage { TermPage,