Skip to content

Commit

Permalink
mod/#5: PR 적용 - scope
Browse files Browse the repository at this point in the history
  • Loading branch information
hyeeum committed Apr 26, 2024
1 parent 480c147 commit 3c26a27
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/src/main/java/com/sopt/now/LoginActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ class LoginActivity : AppCompatActivity() {
}
private fun moveToMain(id:String,pw:String,nick:String){
if (isLoginAvailable(id, pw)) {
val intent = Intent(this, MainActivity::class.java)
saveUserInfo(id,pw,nick)
val intent = Intent(this, MainActivity::class.java).apply {
saveUserInfo(id, pw, nick)
}
startActivity(intent)
}
}
Expand Down

0 comments on commit 3c26a27

Please sign in to comment.