For #8146: Extend radio buttons clickable area to title and description
parent
f5715df104
commit
9d993cae92
|
@ -54,9 +54,24 @@ class OnboardingTrackingProtectionViewHolder(view: View) : RecyclerView.ViewHold
|
||||||
updateTrackingProtectionPolicy()
|
updateTrackingProtectionPolicy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
view.protection_standard_title.setOnClickListener {
|
||||||
|
standardTrackingProtection.performClick()
|
||||||
|
}
|
||||||
|
view.protection_standard_description.setOnClickListener {
|
||||||
|
standardTrackingProtection.performClick()
|
||||||
|
}
|
||||||
|
|
||||||
strictTrackingProtection.onClickListener {
|
strictTrackingProtection.onClickListener {
|
||||||
updateTrackingProtectionPolicy()
|
updateTrackingProtectionPolicy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
view.protection_strict_title.setOnClickListener {
|
||||||
|
strictTrackingProtection.performClick()
|
||||||
|
}
|
||||||
|
|
||||||
|
view.protection_strict_description.setOnClickListener {
|
||||||
|
strictTrackingProtection.performClick()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun updateRadioGroupState(view: View, isChecked: Boolean) {
|
private fun updateRadioGroupState(view: View, isChecked: Boolean) {
|
||||||
|
|
Loading…
Reference in New Issue