Skip to content

Commit

Permalink
#9 [Feat] : 추가 hobbyState 필드 비어있지 않을 때 회원가입 활성화
Browse files Browse the repository at this point in the history
- hobbyState 필드 비어있지 않을 때 회원가입 활성화
  • Loading branch information
imtaejugkim committed Nov 15, 2024
1 parent 09653b7 commit c67e1f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fun SignUpScreen(
val authState by viewModel.authState.collectAsStateWithLifecycle(lifecycleOwner)
val context = LocalContext.current
// 모든 textFiled가 채워졌는지 판단하는 변수
val allFieldFilled = idState.value.text.isNotEmpty() && passwordState.value.text.isNotEmpty()
val allFieldFilled = idState.value.text.isNotEmpty() && passwordState.value.text.isNotEmpty() && hobbyState.value.text.isNotEmpty()


LaunchedEffect(authState) {
Expand Down

0 comments on commit c67e1f1

Please sign in to comment.