Skip to content

Commit

Permalink
fix: it 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
EunhoKang committed Nov 16, 2023
1 parent bd56d86 commit c4e9cb1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,16 @@ class LoginActivity : AppCompatActivity() {

private fun collectEvent() {
repeatOnStarted {
loginViewModel.event.collect {
when (it) {
loginViewModel.event.collect { eventType ->
when (eventType) {
LoginViewModel.LoginEvent.Invalid -> showDialog(
getString(R.string.login_fail),
getString(R.string.login_fail_message),
getString(R.string.login_fail_accept)
)

LoginViewModel.LoginEvent.LoginFailed -> TODO()
LoginViewModel.LoginEvent.LoginSuccess -> TODO()
LoginViewModel.LoginEvent.LoginFailed -> TODO("로그인 실패 시 처리")
LoginViewModel.LoginEvent.LoginSuccess -> TODO("로그인 성공 시 처리")
}
}
}
Expand Down

0 comments on commit c4e9cb1

Please sign in to comment.