Skip to content

Commit

Permalink
mod/#5: PR 적용 - isBlank
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeeum committed Apr 26, 2024
1 parent db71fd8 commit fa0ef19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/sopt/now/LoginActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class LoginActivity : AppCompatActivity() {
val userId = binding.etvLoginId.text.toString()
val userPw = binding.etvLoginPw.text.toString()
val message = when{
userId == "" || userPw == "" -> getString(R.string.login_error_blank)
userId.isBlank() || userPw.isBlank() -> getString(R.string.login_error_blank)
userId != id || userPw != pw -> getString(R.string.login_error_different)
else -> {
loginBool = true
Expand Down

0 comments on commit fa0ef19

Please sign in to comment.