File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed
java/team/aliens/dms/android/feature/resetpassword Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,7 @@ fun AccountVerificationScreen(
6464 val context = LocalContext .current
6565 val (idChecked, onChangeIdChecked) = rememberSaveable { mutableStateOf(false ) }
6666
67- LaunchedEffect (uiState.accountId) {
68- if (uiState.accountId.isNotEmpty()) {
69- delay(300L )
70- viewModel.postIntent(ResetPasswordIntent .CheckAccountId )
71- }
72- }
73-
74- val isAccountIdError by rememberSaveable(uiState.accountId) { mutableStateOf(false ) }
67+ val isAccountIdError by rememberSaveable(uiState.accountId) { mutableStateOf(false ) } // TODO :: sideeffect로 true 구현
7568
7669 viewModel.sideEffectFlow.collectInLaunchedEffectWithLifecycle { sideEffect ->
7770 when (sideEffect) {
@@ -144,6 +137,7 @@ fun AccountVerificationScreen(
144137 null
145138 },
146139 isError = isAccountIdError,
140+ readOnly = idChecked,
147141 )
148142 AnimatedVisibility (
149143 modifier = Modifier .fillMaxWidth(),
@@ -198,7 +192,7 @@ fun AccountVerificationScreen(
198192 onClick = {
199193 viewModel.postIntent(
200194 ResetPasswordIntent .SendEmailVerificationCode (
201- uiState.email,
195+ uiState.email, // TODO :: 이메일 정규식 적용
202196 ),
203197 )
204198 },
Original file line number Diff line number Diff line change 377377 <string name =" reset_password_account_verification_success_account_id_matches_email" >아이디와 일치하는 이메일입니다</string >
378378 <string name =" reset_password_account_verification_enter_account_id_invalid_format" >아이디 형식이 일치하지 않습니다.</string >
379379 <string name =" reset_password_account_verification_error_too_many_request" >요청이 너무 많습니다 잠시 후 다시 시도해주세요</string >
380- <string name =" reset_password_account_verification_error_user_not_found" >존재하지 않는 아이디입니다 .</string >
380+ <string name =" reset_password_account_verification_error_user_not_found" >이름이나 이메일이 일치하지 않습니다 .</string >
381381 <string name =" reset_password_account_verification_enter_student_name" >이름 입력</string >
382382 <string name =" reset_password_account_verification_enter_email" >이메일 입력</string >
383383 <string name =" reset_password_set_password_password_success_changed" >비밀번호가 변경되었습니다.</string >
You can’t perform that action at this time.
0 commit comments