Skip to content

Commit

Permalink
fix: login 이름 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
EunhoKang committed Nov 15, 2023
1 parent e6d92cd commit 939dac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class LoginActivity : AppCompatActivity() {
private fun initListener() {
with(binding) {
btnLoginLogin.setOnClickListener {
loginViewModel.logIn {
loginViewModel.login {
showDialog()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LoginViewModel : ViewModel() {
_state.value = _state.value.copy(password = s.toString())
}

fun logIn(onSuccess: (Unit) -> Unit) {
fun login(onSuccess: (Unit) -> Unit) {
if (checkEmailAndPassword()) {
// TODO: 서버에 정보 전송
} else {
Expand Down

0 comments on commit 939dac9

Please sign in to comment.