mirror of
https://github.com/wulkanowy/wulkanowy.git
synced 2025-01-19 02:56:45 -06:00
Don't capture click on login student select checkbox (#862)
This commit is contained in:
parent
ab7d30c995
commit
5c0160a24d
@ -31,9 +31,14 @@ class LoginStudentSelectAdapter @Inject constructor() :
|
|||||||
loginItemSchool.text = student.schoolName
|
loginItemSchool.text = student.schoolName
|
||||||
loginItemName.isEnabled = !alreadySaved
|
loginItemName.isEnabled = !alreadySaved
|
||||||
loginItemSchool.isEnabled = !alreadySaved
|
loginItemSchool.isEnabled = !alreadySaved
|
||||||
loginItemCheck.isEnabled = !alreadySaved
|
|
||||||
loginItemSignedIn.visibility = if (alreadySaved) View.VISIBLE else View.GONE
|
loginItemSignedIn.visibility = if (alreadySaved) View.VISIBLE else View.GONE
|
||||||
|
|
||||||
|
with(loginItemCheck) {
|
||||||
|
isEnabled = !alreadySaved
|
||||||
|
keyListener = null
|
||||||
|
isChecked = false
|
||||||
|
}
|
||||||
|
|
||||||
root.setOnClickListener {
|
root.setOnClickListener {
|
||||||
onClickListener(student, alreadySaved)
|
onClickListener(student, alreadySaved)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user