Skip to content

Commit

Permalink
[Chore/#46] with로 묶기
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoncheong committed Jul 11, 2023
1 parent e85c12d commit 3018dab
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ class AgreePrivacyUseActivity : BindingActivity<ActivityAgreePrivacyUseBinding>(
}

private fun clickAllAgreeButton() {
binding.btnAllAgreeCheck.setOnClickListener {
binding.btnAllAgreeCheck.isSelected = !binding.btnAllAgreeCheck.isSelected
checkAllAgreeButton()
with(binding) {
btnAllAgreeCheck.setOnClickListener {
btnAllAgreeCheck.isSelected = !btnAllAgreeCheck.isSelected
checkAllAgreeButton()
}
}
}

Expand Down

0 comments on commit 3018dab

Please sign in to comment.