Merged
Conversation
BEEEAM-J
approved these changes
Jan 8, 2024
Member
BEEEAM-J
left a comment
There was a problem hiding this comment.
고생하셨습니다~~!!
궁금한 점 있어서 질문 남깁니다!
BEEEAM-J
reviewed
Jan 8, 2024
| SuwikiContainedLargeButton( | ||
| modifier = Modifier.imePadding(), | ||
| text = stringResource(R.string.word_find_password), | ||
| onClick = onClickFindPasswordButton, |
Member
There was a problem hiding this comment.
이 동작으로 비밀번호 찾는 api 호출하는 거 까지는 이해가 됐는데 toast 메세지를 띄우는 동작은 어디에 정의 되어 있는 건가요??
Member
Author
There was a problem hiding this comment.
findPasswordUseCase(loginId = state.id, email = state.email)
.onSuccess {
reduce { state.copy(showFindPasswordSuccessDialog = true) }
}
.onFailure {
postSideEffect(FindPasswordSideEffect.HandleException(it))
}여기 보시면 실패한 경우에 HandleException SideEffect를 발생시킵니다!
HandleException은 MainScreen까지 전달되구용 MainScreen에서 토스트를 띄웁니다!
Member
There was a problem hiding this comment.
아하! 그래서 스크린에서 따로 토스트를 넣지 않았던거군요
참고하겠습니다 :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 PR 요약
🌱 작업한 내용
🌱 PR 포인트
📸 스크린샷
📮 관련 이슈