Skip to content

Commit

Permalink
[feat] #141 자체 로그인 구현 완료, 자동 로그인 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
jooyyoo committed Sep 19, 2023
1 parent 13941a2 commit 7553fd0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LoginActivity :
binding.viewModel = viewModel
binding.lifecycleOwner = this

// autoLogin()
autoLogin()
addListener()
collectData()
}
Expand All @@ -47,11 +47,9 @@ class LoginActivity :
when (loginState) {
true -> {
moveToHome()
// Log.e("로그인 성공시", "{${loginState}}")
}

false -> {
// Log.e("로그인 실패시", "{${loginState}}")
showLoginFailDialog()
viewModel.initLogin()
}
Expand Down

0 comments on commit 7553fd0

Please sign in to comment.